def test_key_info_xml_cert(self): key_info_xml = top.key_info_xml_cert(CERT, SUBJECT_NAME) self.assertEqual(key_info_xml, EXP_KEY_INFO_XML_CERT)
def test_key_info_xml_cert_no_subject(self): key_info_xml = top.key_info_xml_cert(CERT) self.assertEqual(key_info_xml, EXP_KEY_INFO_XML_CERT_NO_SUBJECT)