'Ask for the security compliance password regex description.'

def test_get_security_compliance_password_regex_description(self):

    password_regex_description = uuid.uuid4().hex
    self.config_fixture.config(group='security_compliance', password_regex_description=password_regex_description)
    group = 'security_compliance'
    option = 'password_regex_description'
    url = ('/domains/%(domain_id)s/config/%(group)s/%(option)s' % {'domain_id': CONF.identity.default_domain_id, 'group': group, 'option': option})
    regular_response = self.get(url, token=self._get_non_admin_token())
    self.assertEqual(regular_response.result['config'][option], password_regex_description)
    admin_response = self.get(url, token=self._get_admin_token())
    self.assertEqual(admin_response.result['config'][option], password_regex_description)
    self.head(url, token=self._get_non_admin_token(), expected_status=http_client.OK)
    self.head(url, token=self._get_admin_token(), expected_status=http_client.OK)
