Skip to content

Commit

Permalink
Edits
Browse files Browse the repository at this point in the history
  • Loading branch information
dandavison committed Aug 15, 2024
1 parent 8e084df commit a9e8a3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/worker/test_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -3870,7 +3870,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}")

Expand Down Expand Up @@ -4824,7 +4824,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,
Expand Down

0 comments on commit a9e8a3a

Please sign in to comment.