Skip to content
Snippets Groups Projects
Commit cb51749a authored by Jim MacArthur's avatar Jim MacArthur
Browse files

import_cas.py: check for directories

parent 0f301864
No related branches found
No related tags found
No related merge requests found
......@@ -85,3 +85,6 @@ def test_cas_import(cli, tmpdir, roots):
assert os.path.exists(os.path.join(tmpdir, "output", path))
if typename in ['F']:
assert file_contents_are(os.path.join(tmpdir, "output", path), content)
if typename in ['D']:
# Note that isdir accepts symlinks to dirs, so a symlink to a dir is acceptable.
assert os.path.isdir(os.path.join(tmpdir, "output", path))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment