-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
test_creating_cert(self) failed for self.assertEqual(certificate.common_name, "TestCert_CodeSign/C=GB")
The common_name of the test certificate is None by method _get_common_name(self)
The subject get from the cert is "subject=CN = TestCert_CodeSign, C = GB, emailAddress = apple@myers.io", it doesn't match the regex
match = re.search(r"subject=./CN=(.)./.", subject).
And the match result shouldn't be "TestCert_CodeSign/C=GB"?