diff --git a/zulip_bots/zulip_bots/bots/giphy/test_giphy.py b/zulip_bots/zulip_bots/bots/giphy/test_giphy.py index a6c34ff..34d97f4 100755 --- a/zulip_bots/zulip_bots/bots/giphy/test_giphy.py +++ b/zulip_bots/zulip_bots/bots/giphy/test_giphy.py @@ -45,7 +45,7 @@ class TestGiphyBot(StubBotTestCase): def test_connection_error(self) -> None: with self.mock_config_info({'key': '12345678'}), \ patch('requests.get', side_effect=ConnectionError()), \ - patch('logging.warning'): + patch('logging.exception'): self.verify_reply( 'world without chocolate', 'Uh oh, sorry :slightly_frowning_face:, I '