Beispiel #1
0
 def setUp(self):
     super(TestValidateDHCP, self).setUp()
     # Temporarily prevent hostname resolution when generating DHCP
     # configuration. This is tested elsewhere.
     self.useFixture(DHCPConfigNameResolutionDisabled())
     self.mock_call_and_check = self.patch(dhcp, 'call_and_check')
Beispiel #2
0
 def setUp(self):
     super(TestValidateDHCP, self).setUp()
     # Temporarily prevent hostname resolution when generating DHCP
     # configuration. This is tested elsewhere.
     self.useFixture(DHCPConfigNameResolutionDisabled())