Skip to content

Commit

Permalink
chg: Improve test online/offline
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Oct 30, 2018
1 parent c2bc770 commit 5c54a7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ def setUp(self):

def test_compareOnlineOffilne(self):
taxonomies_online = Taxonomies(manifest_path=None)
for t_online, t_offline in zip(taxonomies_online.values(), self.taxonomies_offline.values()):
self.assertEqual(str(t_online), str(t_offline))
self.assertEqual(str(taxonomies_online), str(self.taxonomies_offline))


def test_expanded_machinetags(self):
self.taxonomies_offline.all_machinetags(expanded=True)

Expand Down Expand Up @@ -82,5 +85,6 @@ def test_recreate_dump(self):
def test_validate_schema(self):
self.taxonomies_offline.validate_with_schema()


if __name__ == "__main__":
unittest.main()

0 comments on commit 5c54a7f

Please sign in to comment.