def test_match_dns_success(self):
     assert match_hostname(self.cert, 'touhou.gensokyo.jp') is None
 def test_match_localhost_success(self):
     assert match_hostname(self.cert, 'localhost') is None
 def test_match_ip_address_success(self):
     assert match_hostname(self.cert, '127.0.0.1') is None
 def test_match_dns_success(self):
     assert match_hostname(self.cert, 'touhou.gensokyo.jp') is None
 def test_match_localhost_success(self):
     assert match_hostname(self.cert, 'localhost') is None
 def test_match_ip_address_success(self):
     assert match_hostname(self.cert, '127.0.0.1') is None