pvl/hosts/tests.py
changeset 687 f99f9e3d02cf
parent 677 8e3dfa27d8d1
child 688 dfc5fcb6a06c
--- 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):