Skip to content

Commit

Permalink
Update test_run.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jlowin committed Oct 25, 2024
1 parent 010de17 commit b61c6f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def test_any_complete(self):
task1 = Task("Task 1")
task2 = Task("Task 2")

with instructions("complete task 2"):
with instructions("complete only task 2"):
run_tasks([task1, task2], run_until=AnyComplete())

assert task2.is_complete()
Expand All @@ -60,7 +60,7 @@ def test_any_failed(self):
task1 = Task("Task 1")
task2 = Task("Task 2")

with instructions("fail task 2"):
with instructions("fail only task 2"):
run_tasks([task1, task2], run_until=AnyFailed(), raise_on_failure=False)

assert task2.is_failed()
Expand Down

0 comments on commit b61c6f7

Please sign in to comment.