Skip to content

Commit a9e8a3a

Browse files
committed
Edits
1 parent 8e084df commit a9e8a3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/worker/test_workflow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3870,7 +3870,7 @@ def matches_metric_line(
38703870
return False
38713871
# Must have labels (don't escape for this test)
38723872
for k, v in at_least_labels.items():
3873-
if not f'{k}="{v}"' in line:
3873+
if f'{k}="{v}"' not in line:
38743874
return False
38753875
return line.endswith(f" {value}")
38763876

@@ -4824,7 +4824,7 @@ async def assert_scenario(
48244824
update_scenario: Optional[FailureTypesScenario] = None,
48254825
) -> None:
48264826
logging.debug(
4827-
f"Asserting scenario %s",
4827+
"Asserting scenario %s",
48284828
{
48294829
"workflow": workflow,
48304830
"expect_task_fail": expect_task_fail,

0 commit comments

Comments
 (0)