Skip to content

Commit

Permalink
Edits
Browse files Browse the repository at this point in the history
  • Loading branch information
dandavison committed Sep 17, 2024
1 parent 6c2a353 commit 1b7f5a8
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 @@ -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}")

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

0 comments on commit 1b7f5a8

Please sign in to comment.