mypy: Final small migrations to python3.5 annotations in many files.

This commit is contained in:
neiljp (Neil Pilgrim)
2018-03-12 01:47:49 +00:00
committed by Tim Abbott
parent 34db2e59dd
commit 9e1dbde82d
11 changed files with 32 additions and 42 deletions

View File

@@ -270,8 +270,8 @@ class Bitbucket2HookTests(WebhookTestCase):
self.assert_json_success(result)
@patch('zerver.webhooks.bitbucket2.view.check_send_stream_message')
def test_bitbucket2_on_push_without_changes_ignore(self, check_send_stream_message_mock):
# type: (MagicMock) -> None
def test_bitbucket2_on_push_without_changes_ignore(
self, check_send_stream_message_mock: MagicMock) -> None:
payload = self.get_body('push_without_changes')
result = self.client_post(self.url, payload, content_type="application/json")
self.assertFalse(check_send_stream_message_mock.called)