Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fslpy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSL
fslpy
Commits
5ac53736
Unverified
Commit
5ac53736
authored
1 year ago
by
Michiel Cottaar
Browse files
Options
Downloads
Patches
Plain Diff
Fix the test_job_output to actually test something
parent
ba7ac161
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fsl/tests/test_run.py
+3
-3
3 additions, 3 deletions
fsl/tests/test_run.py
with
3 additions
and
3 deletions
fsl/tests/test_run.py
+
3
−
3
View file @
5ac53736
...
...
@@ -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.e
12345
'
,
'
wt
'
)
as
f
:
f
.
write
(
'
error
'
)
with
open
(
'
test.o
12345
'
,
'
wt
'
)
as
f
:
f
.
write
(
'
output
'
)
assert
run
.
job_output
(
12345
,
td
)
==
(
'
output
'
,
'
error
'
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment