Skip to content
Snippets Groups Projects
Unverified Commit 5ac53736 authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

Fix the test_job_output to actually test something

parent ba7ac161
No related branches found
No related tags found
No related merge requests found
......@@ -537,6 +537,6 @@ def test_func_to_cmd():
def test_job_output():
with tempdir.tempdir() as td:
with open('12345.e', 'wt') as f: f.write('error')
with open('12345.o', 'wt') as f: f.write('output')
assert run,job_output(12345, td) == ('output', 'error')
with open('test.e12345', 'wt') as f: f.write('error')
with open('test.o12345', 'wt') as f: f.write('output')
assert run.job_output(12345, td) == ('output', 'error')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment