def test_create_wildcard_certificate(self):
        body = {'certificate': self.autotest_example_com_cert,
                'key': self.key,
                'common_name': '*.example.com'}
        response = self.client.post(self.url, json.dumps(body), content_type='application/json',
                                    HTTP_AUTHORIZATION='token {}'.format(self.token))
        self.assertEqual(response.status_code, 400)
        self.assertEqual(json.loads(response.content),
                         {'common_name': ['Wildcard certificates are not supported']})
Default constructor
dataset/ETHPy150Open deis/deis/controller/api/tests/test_certificate.py/CertificateTest.test_create_wildcard_certificate--crossover with--dataset/ETHPy150Open tuturto/pyherc/src/pyherc/test/matchers/attack_parameters.py/AttackActionParameterMatcher.__init__