Skip to content

Commit

Permalink
Fixed path tests to work on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanheerdegen committed Dec 6, 2019
1 parent 9fa8acd commit ec4ecf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,6 @@ def test_laboratory_basepath():
shortpath = path
break

assert(Path(lab.basepath).parents[2] == Path(shortpath))
assert(Path(lab.basepath).parts[2] == os.environ['PROJECT'])
assert(list(Path(lab.basepath).parents)[2] == Path(shortpath))
assert(Path(lab.basepath).parts[-3] == os.environ['PROJECT'])
assert(Path(lab.basepath).parts[-1] == 'lab')

0 comments on commit ec4ecf4

Please sign in to comment.