mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
test_helpers: Expand HostRequestMock variables.
This commit is contained in:
@@ -279,6 +279,9 @@ class HostRequestMock(object):
|
||||
def __init__(self, host=settings.EXTERNAL_HOST):
|
||||
# type: (Text) -> None
|
||||
self.host = host
|
||||
self.GET = {} # type: Dict[str, Any]
|
||||
self.POST = {} # type: Dict[str, Any]
|
||||
self.META = {'PATH_INFO': 'test'}
|
||||
|
||||
def get_host(self):
|
||||
# type: () -> Text
|
||||
|
||||
Reference in New Issue
Block a user