From fc0144f6e46c1747d9d9aa33faa40aa2bc9238ca Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Sat, 5 Aug 2017 17:44:55 -0700 Subject: [PATCH] test_decorators: Annotate fake Request as HttpRequest. --- zerver/tests/test_decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/tests/test_decorators.py b/zerver/tests/test_decorators.py index d0eef73e65..b1c6419460 100644 --- a/zerver/tests/test_decorators.py +++ b/zerver/tests/test_decorators.py @@ -960,7 +960,7 @@ class TestInternalNotifyView(TestCase): req = self.Request( POST=dict(secret=secret), META=dict(REMOTE_ADDR='127.0.0.1'), - ) + ) # type: HttpRequest with self.settings(SHARED_SECRET=secret): self.assertTrue(authenticate_notify(req))