mypy: Use Python 3 type syntax in 'bitbucket/tests.py'.

This commit is contained in:
Xavier Cooney
2017-12-25 11:26:29 +00:00
committed by showell
parent 63142385ca
commit f66f04f83a

View File

@@ -65,8 +65,7 @@ class BitbucketHookTests(WebhookTestCase):
@patch('zerver.webhooks.bitbucket.view.check_send_stream_message')
def test_bitbucket_push_commits_above_limit_filtered_by_branches_ignore(
self, check_send_stream_message_mock):
# type: (MagicMock) -> None
self, check_send_stream_message_mock: MagicMock) -> None:
fixture_name = 'push_commits_above_limit'
payload = self.get_body(fixture_name)
self.url = self.build_webhook_url(payload=payload,