--- a/pvl/hosts/tests.py Mon Mar 02 13:12:35 2015 +0200
+++ b/pvl/hosts/tests.py Mon Mar 02 13:26:34 2015 +0200
@@ -368,7 +368,7 @@
]
with self.assertRaises(zone.HostZoneError):
- self.assertZoneEquals(zone.apply_hosts_forward(hosts, 'domain'), { })
+ self.assertZoneEquals(zone.apply_hosts_forward(hosts, 'domain', check_conflicts=True), { })
def testHostsAliasConflict(self):
hosts = [
@@ -401,7 +401,7 @@
]
with self.assertRaises(zone.HostZoneError):
- self.assertZoneEquals(zone.apply_hosts_forward(hosts, 'domain'), { })
+ self.assertZoneEquals(zone.apply_hosts_forward(hosts, 'domain', check_conflicts=True), { })
class TestReverseZone(TestZoneMixin, unittest.TestCase):