From 37add490c515549f5471f8b317ecffb611987aff Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.anjos@idiap.ch> Date: Wed, 20 May 2020 18:17:16 +0200 Subject: [PATCH] [test.test_cli] Fix unit test --- bob/ip/binseg/test/test_cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bob/ip/binseg/test/test_cli.py b/bob/ip/binseg/test/test_cli.py index decd28fd..52b0864d 100644 --- a/bob/ip/binseg/test/test_cli.py +++ b/bob/ip/binseg/test/test_cli.py @@ -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) -- GitLab