mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
mypy: Enable new error explicit-override.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
d257002ad8
commit
a50eb2e809
@@ -1,3 +1,5 @@
|
||||
from typing_extensions import override
|
||||
|
||||
from zerver.lib.test_classes import WebhookTestCase
|
||||
|
||||
|
||||
@@ -107,5 +109,6 @@ class WordPressHookTests(WebhookTestCase):
|
||||
|
||||
self.assert_json_error(result, "Unknown WordPress webhook action: WordPress action")
|
||||
|
||||
@override
|
||||
def get_body(self, fixture_name: str) -> str:
|
||||
return self.webhook_fixture_data("wordpress", fixture_name, file_type="txt")
|
||||
|
||||
Reference in New Issue
Block a user