From adaf695ca4acf4156274bbf485dd8364d5fa23e4 Mon Sep 17 00:00:00 2001 From: cortadocodes Date: Thu, 1 Feb 2024 11:37:12 +0000 Subject: [PATCH] TST: Update test --- tests/cloud/pub_sub/test_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cloud/pub_sub/test_service.py b/tests/cloud/pub_sub/test_service.py index 93abbc3fc..9ae63cbfb 100644 --- a/tests/cloud/pub_sub/test_service.py +++ b/tests/cloud/pub_sub/test_service.py @@ -254,7 +254,7 @@ def test_ask_with_real_run_function_with_no_log_message_forwarding(self): run function rather than a mock so that the underlying `Runner` instance is used, and check that remote log messages aren't forwarded to the local logger. """ - child = MockService(backend=BACKEND, run_function=self.create_run_function()) + child = MockService(backend=BACKEND, service_id="truly/madly:deeply", run_function=self.create_run_function()) parent = MockService(backend=BACKEND, children={child.id: child}) with self.assertLogs() as logging_context: @@ -268,7 +268,7 @@ def test_ask_with_real_run_function_with_no_log_message_forwarding(self): {"output_values": MockAnalysis().output_values, "output_manifest": MockAnalysis().output_manifest}, ) - self.assertTrue(all("[REMOTE]" not in message for message in logging_context.output)) + self.assertTrue(all("[truly/madly:deeply" not in message for message in logging_context.output)) def test_ask_with_real_run_function_with_log_message_forwarding(self): """Test that a service can ask a question to another service that is serving and receive an answer. Use a real