示例#1
0
 def test_check_for_nonexistent_ip(self):
     '''Tests IPNotFound response when getting information for a specific IP'''
     interface_cfg = NetworkInterfaceConfig('dummy0')
     with self.assertRaises(IPNotFound):
         interface_cfg.get_full_ip_info("10.0.21.123")