'Validate `url` attribute in endpoint create request.'

def test_validate_endpoint_create_succeeds_with_url(self):

    request_to_validate = {'service_id': uuid.uuid4().hex, 'interface': 'public'}
    for url in _VALID_URLS:
        request_to_validate['url'] = url
        self.create_endpoint_validator.validate(request_to_validate)
