Annotate client_post() and client_get() in test_helpers.

This commit is contained in:
Steve Howell 2016-09-11 10:03:31 -07:00 committed by Tim Abbott
parent 8b9e9a386a
commit 30129f609b
1 changed files with 2 additions and 0 deletions

View File

@ -329,11 +329,13 @@ class ZulipTestCase(TestCase):
@instrument_url
def client_post(self, url, info={}, **kwargs):
# type: (text_type, Dict[str, Any], **Any) -> HttpResponse
django_client = self.client # see WRAPPER_COMMENT
return django_client.post(url, info, **kwargs)
@instrument_url
def client_get(self, url, info={}, **kwargs):
# type: (text_type, Dict[str, Any], **Any) -> HttpResponse
django_client = self.client # see WRAPPER_COMMENT
return django_client.get(url, info, **kwargs)