def test_is_ip_address(self): env = common.is_ip_address('10.0.0.1') self.assertEqual(env, True) env = common.is_ip_address('abcde') self.assertEqual(env, False)
def test_is_ip_address(self): env = common.is_ip_address("10.0.0.1") self.assertTrue(env) env = common.is_ip_address("abcde") self.assertFalse(env)
def test_is_ip_address(self): assert common.is_ip_address("10.0.0.1") assert not common.is_ip_address("abcde")
def test_is_ip_address(self): env = common.is_ip_address('10.0.0.1') self.assertTrue(env) env = common.is_ip_address('abcde') self.assertFalse(env)