Skip to content

Commit

Permalink
Okay, now test suites are in good shape
Browse files Browse the repository at this point in the history
  • Loading branch information
gchure committed May 10, 2019
1 parent 2c17b4d commit 63f4659
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_io.py
Expand Up @@ -20,9 +20,9 @@ def cmp_dict(truth, test_file, directory):
assert test.items() == test.items()

for k, v in zip(dicts.keys(), dicts.values()):
cmp_dict(v, k, './test_data', False)
cmp_dict(v, k, './test_data/', False)
cmp_dict(v, k, 'tests/test_data')
cmp_dict(v, k, 'tests/test_data/')

with pytest.raises(UserWarning):
assert scrape_frontmatter('./test_data', file='test_wrongstatus.md')
assert scrape_frontmatter('./test_data', file='test_nostatus.md')
assert scrape_frontmatter('tests/test_data', file='test_wrongstatus.md')
assert scrape_frontmatter('tests/test_data', file='test_nostatus.md')

0 comments on commit 63f4659

Please sign in to comment.