From d079660dad0186430238cafcd9ebc23adc4be937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 14 Oct 2016 18:29:10 +0200 Subject: [PATCH] Add some more tests --- tests/tests.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/tests.py b/tests/tests.py index 2ff8867..d959b7c 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -68,10 +68,10 @@ class TestPyTaxonomies(unittest.TestCase): pytaxonomies.api.HAS_REQUESTS = True def test_revert_machinetags(self): - tax = list(self.taxonomies.values())[0] - for p in tax.values(): - mt = tax.make_machinetag(p) - self.taxonomies.revert_machinetag(mt) + for tax in self.taxonomies.values(): + for p in tax.values(): + mt = tax.make_machinetag(p) + self.taxonomies.revert_machinetag(mt) def test_json(self): for key, t in self.taxonomies.items():