'Create endpoint with valid url should be tested,too.'

def test_endpoint_create_with_valid_url_project_id(self):

    valid_url = 'http://127.0.0.1:8774/v1.1/$(project_id)s'
    ref = unit.new_endpoint_ref(self.service_id, interface='public', region_id=self.region_id, url=valid_url)
    self.post('/endpoints', body={'endpoint': ref})
