Skip to content

Commit

Permalink
Fix incorrect varname in test
Browse files Browse the repository at this point in the history
  • Loading branch information
JHolba committed Sep 2, 2024
1 parent 6d2094e commit 3e21e15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit_tests/scheduler/test_lsf_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ async def test_submit_sets_stdout():
async def test_submit_sets_stderr():
driver = LsfDriver()
await driver.submit(0, "sleep", name="myjobname")
expected_stdout_file = Path(os.getcwd()) / "myjobname.LSF-stderr"
assert f"-e {expected_stdout_file}" in Path("captured_bsub_args").read_text(
expected_stderr_file = Path(os.getcwd()) / "myjobname.LSF-stderr"
assert f"-e {expected_stderr_file}" in Path("captured_bsub_args").read_text(
encoding="utf-8"
)

Expand Down

0 comments on commit 3e21e15

Please sign in to comment.