def test_check_endpoint_group_to_project(self):
    'Test HEAD with a valid endpoint group and project association.'
    endpoint_group_id = self._create_valid_endpoint_group(self.DEFAULT_ENDPOINT_GROUP_URL, self.DEFAULT_ENDPOINT_GROUP_BODY)
    self._create_endpoint_group_project_association(endpoint_group_id, self.project_id)
    url = self._get_project_endpoint_group_url(endpoint_group_id, self.project_id)
    self.head(url, expected_status=http_client.OK)
Test HEAD with a valid endpoint group and project association.
def test_check_endpoint_group_to_project(self):
    
    endpoint_group_id = self._create_valid_endpoint_group(self.DEFAULT_ENDPOINT_GROUP_URL, self.DEFAULT_ENDPOINT_GROUP_BODY)
    self._create_endpoint_group_project_association(endpoint_group_id, self.project_id)
    url = self._get_project_endpoint_group_url(endpoint_group_id, self.project_id)
    self.head(url, expected_status=http_client.OK)