mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +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')
|
@patch('zerver.webhooks.bitbucket.view.check_send_stream_message')
|
||||||
def test_bitbucket_push_commits_above_limit_filtered_by_branches_ignore(
|
def test_bitbucket_push_commits_above_limit_filtered_by_branches_ignore(
|
||||||
self, check_send_stream_message_mock):
|
self, check_send_stream_message_mock: MagicMock) -> None:
|
||||||
# type: (MagicMock) -> None
|
|
||||||
fixture_name = 'push_commits_above_limit'
|
fixture_name = 'push_commits_above_limit'
|
||||||
payload = self.get_body(fixture_name)
|
payload = self.get_body(fixture_name)
|
||||||
self.url = self.build_webhook_url(payload=payload,
|
self.url = self.build_webhook_url(payload=payload,
|
||||||
|
|||||||
Reference in New Issue
Block a user