mirror of https://github.com/MISP/PyTaxonomies
Add some more tests
parent
14cdb9183a
commit
d079660dad
|
@ -68,7 +68,7 @@ class TestPyTaxonomies(unittest.TestCase):
|
||||||
pytaxonomies.api.HAS_REQUESTS = True
|
pytaxonomies.api.HAS_REQUESTS = True
|
||||||
|
|
||||||
def test_revert_machinetags(self):
|
def test_revert_machinetags(self):
|
||||||
tax = list(self.taxonomies.values())[0]
|
for tax in self.taxonomies.values():
|
||||||
for p in tax.values():
|
for p in tax.values():
|
||||||
mt = tax.make_machinetag(p)
|
mt = tax.make_machinetag(p)
|
||||||
self.taxonomies.revert_machinetag(mt)
|
self.taxonomies.revert_machinetag(mt)
|
||||||
|
|
Loading…
Reference in New Issue