Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tcompa committed Jul 15, 2024
1 parent d1892b9 commit cd2dbdc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/v1/07_full_workflow/test_full_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,10 +728,10 @@ async def test_non_python_task(
assert f in glob_list

# Check that stderr and stdout are as expected
with open(f"{working_dir}/0_non-python/0.out", "r") as f:
with open(f"{working_dir}/0_non_python/0.out", "r") as f:
out = f.read()
assert "This goes to standard output" in out
with open(f"{working_dir}/0_non-python/0.err", "r") as f:
with open(f"{working_dir}/0_non_python/0.err", "r") as f:
err = f.read()
assert "This goes to standard error" in err

Expand Down
2 changes: 1 addition & 1 deletion tests/v2/08_full_workflow/common_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ async def workflow_with_non_python_task(
raise ValueError(f"{f} must exist, but {glob_list=}")

# Check that stderr and stdout are as expected
with open(f"{working_dir}/0_non-python/0.log", "r") as f:
with open(f"{working_dir}/0_non_python/0.log", "r") as f:
log = f.read()
assert "This goes to standard output" in log
assert "This goes to standard error" in log

0 comments on commit cd2dbdc

Please sign in to comment.