From ecf6e8b01750fb1b668abd242e448bd49135259f Mon Sep 17 00:00:00 2001 From: HgO Date: Sun, 3 Nov 2024 14:34:20 +0100 Subject: [PATCH] linting --- tests/test_webhook.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/test_webhook.py b/tests/test_webhook.py index 0335075..525b0ea 100644 --- a/tests/test_webhook.py +++ b/tests/test_webhook.py @@ -160,7 +160,7 @@ class WebhookApplicationTestCase(aiohttp.test_utils.AioHTTPTestCase): notice=False, ), ], - any_order=True + any_order=True, ) self.fake_cache.set.assert_called_once_with( fake_send_text_to_room.return_value.event_id, @@ -211,7 +211,7 @@ class WebhookApplicationTestCase(aiohttp.test_utils.AioHTTPTestCase): notice=False, ), ], - any_order=True + any_order=True, ) self.fake_cache.set.assert_called_once_with( fake_send_text_to_room.return_value.event_id, @@ -454,7 +454,7 @@ class WebhookApplicationTestCase(aiohttp.test_utils.AioHTTPTestCase): fake_logger.exception.assert_called_once_with( "Unable to send alert fingerprint1 to Matrix room !abcdefg:example.com", - exc_info=fake_send_text_to_room.side_effect + exc_info=fake_send_text_to_room.side_effect, ) @patch.object(matrix_alertbot.webhook, "logger", autospec=True) @@ -485,7 +485,7 @@ class WebhookApplicationTestCase(aiohttp.test_utils.AioHTTPTestCase): fake_logger.exception.assert_called_once_with( "Unable to send alert fingerprint1 to Matrix room !abcdefg:example.com", - exc_info=fake_create_alert.side_effect + exc_info=fake_create_alert.side_effect, ) @patch.object(matrix_alertbot.webhook, "logger", autospec=True) @@ -518,7 +518,7 @@ class WebhookApplicationTestCase(aiohttp.test_utils.AioHTTPTestCase): fake_logger.exception.assert_called_once_with( "Unable to send alert fingerprint1 to Matrix room !abcdefg:example.com", - exc_info=fake_send_text_to_room.side_effect + exc_info=fake_send_text_to_room.side_effect, ) async def test_create_alert_update_silence(self) -> None: