diff --git a/zerver/lib/test_helpers.py b/zerver/lib/test_helpers.py index 8fcaf8467d..2434c3d37a 100644 --- a/zerver/lib/test_helpers.py +++ b/zerver/lib/test_helpers.py @@ -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