test_helpers: Expand HostRequestMock variables.

This commit is contained in:
Tim Abbott
2017-08-14 16:01:48 -07:00
parent 5b8d04e18f
commit cc03c8766f

View File

@@ -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