'Exception raised when `url` isn\'t in endpoint request.'

def test_validate_endpoint_create_fails_without_url(self):

    request_to_validate = {'service_id': uuid.uuid4().hex, 'interface': 'public'}
    self.assertRaises(exception.SchemaValidationError, self.create_endpoint_validator.validate, request_to_validate)
