From 30129f609bd817afb0d5b47c635a165d5aeb1bde Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Sun, 11 Sep 2016 10:03:31 -0700 Subject: [PATCH] Annotate client_post() and client_get() in test_helpers. --- zerver/lib/test_helpers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zerver/lib/test_helpers.py b/zerver/lib/test_helpers.py index ae7d923b7b..640787f958 100644 --- a/zerver/lib/test_helpers.py +++ b/zerver/lib/test_helpers.py @@ -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)