Skip to content

Commit

Permalink
quick fix output folder
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudbore committed Mar 7, 2024
1 parent 0baa058 commit 741c6b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/tests/test_tractogram_commit.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@

# If they already exist, this only takes 5 seconds (check md5sum)
fetch_data(get_testing_files_dict(), keys=['commit_amico.zip'])
tmp_dir = tempfile.TemporaryDirectory()


def test_help_option(script_runner):
ret = script_runner.run('scil_tractogram_commit.py', '--help')
assert ret.success


def test_execution_commit_amico(script_runner):
tmp_dir = tempfile.TemporaryDirectory()
os.chdir(os.path.expanduser(tmp_dir.name))
in_tracking = os.path.join(SCILPY_HOME, 'commit_amico',
'tracking.trk')
Expand All @@ -43,6 +42,7 @@ def test_execution_commit_amico(script_runner):
assert ret.success

def test_execution_commit_amico_wo_mask(script_runner):
tmp_dir = tempfile.TemporaryDirectory()
os.chdir(os.path.expanduser(tmp_dir.name))
in_tracking = os.path.join(SCILPY_HOME, 'commit_amico',
'tracking.trk')
Expand Down

0 comments on commit 741c6b6

Please sign in to comment.