'Call ``GET & HEAD /domains/{domain_id}/config with invalid domain``.
While retrieving non-existent Identity API-based domain config with an
invalid domain id provided, the request shall be rejected with a
response 404 domain not found.'

def test_get_head_non_existant_config_invalid_domain(self):

    invalid_domain_id = uuid.uuid4().hex
    url = ('/domains/%(domain_id)s/config' % {'domain_id': invalid_domain_id})
    self.get(url, expected_status=exception.DomainNotFound.code)
    self.head(url, expected_status=exception.DomainNotFound.code)
