Commit 4fcd632b by Bach Dániel

firewall: fix tests

parent efbcf853
...@@ -231,6 +231,9 @@ class ReloadTestCase(TestCase): ...@@ -231,6 +231,9 @@ class ReloadTestCase(TestCase):
self.rm.save() self.rm.save()
self.rt.save() self.rt.save()
def tearDown(self):
settings["default_host_groups"] = []
def test_bad_aaaa_record(self): def test_bad_aaaa_record(self):
self.assertRaises(AddrFormatError, ipv6_to_octal, self.rb.address) self.assertRaises(AddrFormatError, ipv6_to_octal, self.rb.address)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment