'Call ``PATCH /domains/{domain_id}/config/{group}``.
While updating Identity API-based domain config group with an invalid
domain id provided, the request shall be rejected with a response,
404 domain not found.'

def test_update_config_group_invalid_domain(self):

    self.domain_config_api.create_config(self.domain['id'], self.config)
    new_config = {'ldap': {'url': uuid.uuid4().hex, 'user_filter': uuid.uuid4().hex}}
    invalid_domain_id = uuid.uuid4().hex
    self.patch(('/domains/%(domain_id)s/config/ldap' % {'domain_id': invalid_domain_id}), body={'config': new_config}, expected_status=exception.DomainNotFound.code)
