mirror of https://github.com/MISP/PyTaxonomies
Add forgotten case
parent
d079660dad
commit
249e626cef
|
@ -70,6 +70,11 @@ class TestPyTaxonomies(unittest.TestCase):
|
|||
def test_revert_machinetags(self):
|
||||
for tax in self.taxonomies.values():
|
||||
for p in tax.values():
|
||||
if tax.has_entries():
|
||||
for e in p.values():
|
||||
mt = tax.make_machinetag(p, e)
|
||||
self.taxonomies.revert_machinetag(mt)
|
||||
else:
|
||||
mt = tax.make_machinetag(p)
|
||||
self.taxonomies.revert_machinetag(mt)
|
||||
|
||||
|
|
Loading…
Reference in New Issue