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,