From f2f0b5cd1de7c6027eface1ebacf757a02fd8e6c Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Thu, 15 Aug 2024 08:18:15 -0400 Subject: [PATCH] Edits --- tests/worker/test_workflow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/worker/test_workflow.py b/tests/worker/test_workflow.py index 9f007a22..74958cf9 100644 --- a/tests/worker/test_workflow.py +++ b/tests/worker/test_workflow.py @@ -3902,7 +3902,7 @@ def matches_metric_line( return False # Must have labels (don't escape for this test) for k, v in at_least_labels.items(): - if not f'{k}="{v}"' in line: + if f'{k}="{v}"' not in line: return False return line.endswith(f" {value}") @@ -4856,7 +4856,7 @@ async def assert_scenario( update_scenario: Optional[FailureTypesScenario] = None, ) -> None: logging.debug( - f"Asserting scenario %s", + "Asserting scenario %s", { "workflow": workflow, "expect_task_fail": expect_task_fail,