MCPcopy Index your code
hub / github.com/python/cpython / test_get_host_info

Method test_get_host_info

Lib/test/test_xmlrpc.py:302–307  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

300 check(f'<biginteger>{s}</biginteger>', None)
301
302 def test_get_host_info(self):
303 # see bug #3613, this raised a TypeError
304 transp = xmlrpc.client.Transport()
305 self.assertEqual(transp.get_host_info("user@host.tld"),
306 ('host.tld',
307 [('Authorization', 'Basic dXNlcg==')], {}))
308
309 def test_ssl_presence(self):
310 try:

Callers

nothing calls this directly

Calls 2

get_host_infoMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected