def test_validate_endpoint_resolution_wrong(self): """Test validate_endpoint_resolution(ENDPOINTS, resolutions) returns False """ resolution = """10.95.150.94\n10.95.151.60\n10.95.150.91\nfd88:3be1:fee4:8c5d::63\nfd88:3be1:fee4:8c5c::2c""" self.assertFalse(source.validate_endpoint_resolution(source.ENDPOINTS, resolution))
def test_validate_endpoint_resolution(self): """Test validate_endpoint_resolution(ENDPOINTS, RESOLUTIONS) returns True """ self.assertTrue(source.validate_endpoint_resolution(source.ENDPOINTS, source.RESOLUTION))