test_helpers: Add 'method' to HostRequestMock.

This commit is contained in:
Tim Abbott 2017-08-15 19:47:03 -07:00
parent fd1b8c7a3c
commit 890417f8eb
1 changed files with 1 additions and 0 deletions

View File

@ -285,6 +285,7 @@ class HostRequestMock(object):
self.META = {'PATH_INFO': 'test'}
self.path = ''
self.user = user_profile
self.method = ''
def get_host(self):
# type: () -> Text