From 1148487f55601d4306f093c872b80a5a23046aea Mon Sep 17 00:00:00 2001 From: Hilary James Oliver Date: Thu, 14 Dec 2023 16:15:10 +1300 Subject: [PATCH] Fix an integration test. --- tests/integration/test_resolvers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_resolvers.py b/tests/integration/test_resolvers.py index 553c0fecafc..17e09983dc3 100644 --- a/tests/integration/test_resolvers.py +++ b/tests/integration/test_resolvers.py @@ -229,7 +229,7 @@ async def test_command_logging(mock_flow, caplog, log_filter): caplog.set_level(logging.INFO, CYLC_LOG) await mock_flow.resolvers._mutation_mapper("stop", {}, meta) - assert log_filter(caplog, contains='Command "stop" received:') + assert log_filter(caplog, contains='Command "stop" received') # put_messages: only log for owner kwargs = { @@ -244,4 +244,4 @@ async def test_command_logging(mock_flow, caplog, log_filter): meta["auth_user"] = "Dr Spock" await mock_flow.resolvers._mutation_mapper("put_messages", kwargs, meta) assert log_filter( - caplog, contains='Command "put_messages" received from Dr Spock:') + caplog, contains='Command "put_messages" received from Dr Spock')