mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
mypy: Use Python 3 type syntax in 'bitbucket/tests.py'.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user