Skip to content

Commit

Permalink
more join test
Browse files Browse the repository at this point in the history
  • Loading branch information
benclifford committed Jan 13, 2025
1 parent 0a80587 commit dddf414
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions parsl/tests/test_python_apps/test_join.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,12 @@ def test_two_errors():
de0 = e.dependent_exceptions_tids[0][0]
assert isinstance(de0, InnerError)
assert de0.args[0] == "Error A"
assert e.dependent_exceptions_tids[0][1].startswith("task ")

de1 = e.dependent_exceptions_tids[1][0]
assert isinstance(de1, InnerError)
assert de1.args[0] == "Error B"
assert e.dependent_exceptions_tids[1][1].startswith("task ")


def test_one_error_one_result():
Expand All @@ -128,6 +130,7 @@ def test_one_error_one_result():
de0 = e.dependent_exceptions_tids[0][0]
assert isinstance(de0, InnerError)
assert de0.args[0] == "Error A"
assert e.dependent_exceptions_tids[0][1].startswith("task ")


@join_app
Expand Down

0 comments on commit dddf414

Please sign in to comment.