Skip to content
Snippets Groups Projects
Commit d186f24d authored by Baptiste Bauvin's avatar Baptiste Bauvin
Browse files

Merge branch 'develop'

parents ed0fcc72 fe9f519f
No related branches found
No related tags found
No related merge requests found
Pipeline #4842 passed
...@@ -143,7 +143,7 @@ class Test_find_dataset_names(unittest.TestCase): ...@@ -143,7 +143,7 @@ class Test_find_dataset_names(unittest.TestCase):
self.assertEqual(path, tmp_path) self.assertEqual(path, tmp_path)
self.assertIn("test1", names) self.assertIn("test1", names)
path, names = execution.find_dataset_names("examples/data", ".hdf5", ["all"]) path, names = execution.find_dataset_names("examples/data", ".hdf5", ["all"])
self.assertEqual(names, ["doc_summit", "digits_doc"]) self.assertIn("doc_summit", names)
self.assertRaises(ValueError, execution.find_dataset_names, tmp_path+"test", ".txt", self.assertRaises(ValueError, execution.find_dataset_names, tmp_path+"test", ".txt",
["test"]) ["test"])
self.assertRaises(ValueError, execution.find_dataset_names, tmp_path, ".txt", ["ah"]) self.assertRaises(ValueError, execution.find_dataset_names, tmp_path, ".txt", ["ah"])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment