88
88
self.assertRaises(ValueError,
89
89
_urllib2_wrappers.match_hostname, {}, "example.com")
97
cert = {'subject': ((('commonName', 'a*b.com'),),)}
99
cert = {'subject': ((('commonName', 'a*b.co*'),),)}
101
cert = {'subject': ((('commonName', 'a*b*.com'),),)}
91
107
def test_no_valid_attributes(self):
92
108
self.assertRaises(CertificateError, _urllib2_wrappers.match_hostname,
93
109
{"Problem": "Solved"}, "example.com")