From 393b0bed3af1fd484e69206cf978728121f42fd4 Mon Sep 17 00:00:00 2001 From: guzmud Date: Mon, 18 May 2026 12:45:29 +0200 Subject: [PATCH] [pyoaev] test(utils): fixing utils test (missing tenant id in log) --- test/test_utils.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test/test_utils.py b/test/test_utils.py index 13fab9a..4314f55 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -250,8 +250,13 @@ def test_pingalive_run_and_stop(self): ping_alive.run() ping_alive.stop() - ping_alive.logger.info.assert_any_call("Starting PingAlive thread") - ping_alive.logger.info.assert_any_call("Preparing PingAlive for clean shutdown") + ping_alive.logger.info.assert_any_call( + "Starting PingAlive thread", {"tenant_id": str(ping_alive.tenant_id)} + ) + ping_alive.logger.info.assert_any_call( + "Preparing PingAlive for clean shutdown", + {"tenant_id": str(ping_alive.tenant_id)}, + ) self.assertTrue(ping_alive.exit_event.is_set())