Skip to content

Commit

Permalink
fixed test for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
harmsm committed Dec 28, 2022
1 parent 9758fb9 commit dfa7c96
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions tests/reports/test_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ def test__find_directories(tmpdir,small_phylo):

out = _find_directories("test1")

assert out['model'] == 'test1/00_find-model'
assert out['gene']['anc'] == 'test1/02_gene-tree-ancestors'
assert out['gene']['tree'] == 'test1/05_gene-tree-bootstraps'
assert out['reconciled']['anc'] == 'test1/04_reconciled-tree-ancestors'
assert out['reconciled']['tree'] == 'test1/06_reconciled-tree-bootstraps'
assert out['model'] == os.path.join('test1','00_find-model')
assert out['gene']['anc'] == os.path.join('test1','02_gene-tree-ancestors')
assert out['gene']['tree'] == os.path.join('test1','05_gene-tree-bootstraps')
assert out['reconciled']['anc'] == os.path.join('test1','04_reconciled-tree-ancestors')
assert out['reconciled']['tree'] == os.path.join('test1','06_reconciled-tree-bootstraps')

# -------------------------------------------------------------------------
# No reconciled bootstraps
Expand All @@ -48,11 +48,11 @@ def test__find_directories(tmpdir,small_phylo):

out = _find_directories("test2")

assert out['model'] == 'test2/00_find-model'
assert out['gene']['anc'] == 'test2/02_gene-tree-ancestors'
assert out['gene']['tree'] == 'test2/05_gene-tree-bootstraps'
assert out['reconciled']['anc'] == 'test2/04_reconciled-tree-ancestors'
assert out['reconciled']['tree'] == 'test2/04_reconciled-tree-ancestors'
assert out['model'] == os.path.join('test2','00_find-model')
assert out['gene']['anc'] == os.path.join('test2','02_gene-tree-ancestors')
assert out['gene']['tree'] == os.path.join('test2','05_gene-tree-bootstraps')
assert out['reconciled']['anc'] == os.path.join('test2','04_reconciled-tree-ancestors')
assert out['reconciled']['tree'] == os.path.join('test2','04_reconciled-tree-ancestors')

# -------------------------------------------------------------------------
# No gene tree bootstraps
Expand All @@ -69,11 +69,11 @@ def test__find_directories(tmpdir,small_phylo):

out = _find_directories("test3")

assert out['model'] == 'test3/00_find-model'
assert out['gene']['anc'] == 'test3/02_gene-tree-ancestors'
assert out['gene']['tree'] == 'test3/02_gene-tree-ancestors'
assert out['reconciled']['anc'] == 'test3/04_reconciled-tree-ancestors'
assert out['reconciled']['tree'] == 'test3/04_reconciled-tree-ancestors'
assert out['model'] == os.path.join('test3','00_find-model')
assert out['gene']['anc'] == os.path.join('test3','02_gene-tree-ancestors')
assert out['gene']['tree'] == os.path.join('test3','02_gene-tree-ancestors')
assert out['reconciled']['anc'] == os.path.join('test3','04_reconciled-tree-ancestors')
assert out['reconciled']['tree'] == os.path.join('test3','04_reconciled-tree-ancestors')

# -------------------------------------------------------------------------
# No reconciled ancestors
Expand All @@ -89,11 +89,11 @@ def test__find_directories(tmpdir,small_phylo):

out = _find_directories("test4")

assert out['model'] == 'test4/00_find-model'
assert out['gene']['anc'] == 'test4/02_gene-tree-ancestors'
assert out['gene']['tree'] == 'test4/02_gene-tree-ancestors'
assert out['model'] == os.path.join('test4','00_find-model')
assert out['gene']['anc'] == os.path.join('test4','02_gene-tree-ancestors')
assert out['gene']['tree'] == os.path.join('test4','02_gene-tree-ancestors')
assert out['reconciled']['anc'] is None
assert out['reconciled']['tree'] == 'test4/03_reconciled-tree'
assert out['reconciled']['tree'] == os.path.join('test4','03_reconciled-tree')


# -------------------------------------------------------------------------
Expand All @@ -109,9 +109,9 @@ def test__find_directories(tmpdir,small_phylo):

out = _find_directories("test5")

assert out['model'] == 'test5/00_find-model'
assert out['gene']['anc'] == 'test5/02_gene-tree-ancestors'
assert out['gene']['tree'] == 'test5/02_gene-tree-ancestors'
assert out['model'] == os.path.join('test5','00_find-model')
assert out['gene']['anc'] == os.path.join('test5','02_gene-tree-ancestors')
assert out['gene']['tree'] == os.path.join('test5','02_gene-tree-ancestors')
assert out['reconciled']['anc'] is None
assert out['reconciled']['tree'] is None

Expand All @@ -127,9 +127,9 @@ def test__find_directories(tmpdir,small_phylo):

out = _find_directories("test6")

assert out['model'] == 'test6/00_find-model'
assert out['model'] == os.path.join('test6','00_find-model')
assert out['gene']['anc'] is None
assert out['gene']['tree'] == 'test6/01_gene-tree'
assert out['gene']['tree'] == os.path.join('test6','01_gene-tree')
assert out['reconciled']['anc'] is None
assert out['reconciled']['tree'] is None

Expand All @@ -144,7 +144,7 @@ def test__find_directories(tmpdir,small_phylo):

out = _find_directories("test7")

assert out['model'] == 'test7/00_find-model'
assert out['model'] == os.path.join('test7','00_find-model')
assert out['gene']['anc'] is None
assert out['gene']['tree'] is None
assert out['reconciled']['anc'] is None
Expand Down

0 comments on commit dfa7c96

Please sign in to comment.