mirror of https://github.com/zulip/zulip.git
test_helpers: Add 'method' to HostRequestMock.
This commit is contained in:
parent
fd1b8c7a3c
commit
890417f8eb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue