diff --git a/zulip_bots/zulip_bots/bots/googlesearch/test_googlesearch.py b/zulip_bots/zulip_bots/bots/googlesearch/test_googlesearch.py index 020c7ee..7bbe818 100644 --- a/zulip_bots/zulip_bots/bots/googlesearch/test_googlesearch.py +++ b/zulip_bots/zulip_bots/bots/googlesearch/test_googlesearch.py @@ -2,20 +2,18 @@ from zulip_bots.test_lib import StubBotTestCase -from typing import Any - class TestGoogleSearchBot(StubBotTestCase): bot_name = 'googlesearch' # Simple query - def test_normal(self: Any) -> None: + def test_normal(self) -> None: with self.mock_http_conversation('test_normal'): self.verify_reply( 'zulip', 'Found Result: [Zulip](https://www.google.com/url?url=https%3A%2F%2Fzulipchat.com%2F)' ) - def test_bot_help(self: Any) -> None: + def test_bot_help(self) -> None: help_message = "To use this bot, start messages with @mentioned-bot, \ followed by what you want to search for. If \ found, Zulip will return the first search result \ @@ -27,6 +25,6 @@ class TestGoogleSearchBot(StubBotTestCase): self.verify_reply('', help_message) self.verify_reply('help', help_message) - def test_bot_no_results(self: Any) -> None: + def test_bot_no_results(self) -> None: with self.mock_http_conversation('test_no_result'): self.verify_reply('no res', 'Found no results.')