Skip to content
Snippets Groups Projects
Commit 37add490 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[test.test_cli] Fix unit test

parent 1462b43b
Branches
Tags
No related merge requests found
Pipeline #40011 passed
......@@ -343,12 +343,12 @@ def _check_predict(runner):
_assert_exit_0(result)
# check predictions are there
basedir = os.path.join(output_folder, "stare-images")
basedir = os.path.join(output_folder, "test", "stare-images")
assert os.path.exists(basedir)
nose.tools.eq_(len(fnmatch.filter(os.listdir(basedir), "*.hdf5")), 10)
# check overlayed images are there (since we requested them)
basedir = os.path.join(overlay_folder, "stare-images")
basedir = os.path.join(overlay_folder, "test", "stare-images")
assert os.path.exists(basedir)
nose.tools.eq_(len(fnmatch.filter(os.listdir(basedir), "*.png")), 10)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment