Lines Matching refs:netloc
88 t = (result.scheme, result.netloc, result.path,
102 self.assertEqual(result3.netloc, result.netloc)
115 t = (result.scheme, result.netloc, result.path,
127 self.assertEqual(result3.netloc, result.netloc)
528 self.assertEqual(p.netloc, '[FE80::822a:a8ff:fe49:470c%tESt]:1234')
532 self.assertEqual(p.netloc, b'[FE80::822a:a8ff:fe49:470c%tESt]:1234')
538 self.assertEqual(p.netloc, "WWW.PYTHON.ORG")
554 self.assertEqual(p.netloc, "User:Pass@www.python.org:080")
571 self.assertEqual(p.netloc, "User@example.com:Pass@www.python.org:080")
585 self.assertEqual(p.netloc, b"WWW.PYTHON.ORG")
598 self.assertEqual(p.netloc, b"User:Pass@www.python.org:080")
611 self.assertEqual(p.netloc, b"User@example.com:Pass@www.python.org:080")
633 netloc = "www.example.net:" + port
634 url = "http://" + netloc
636 netloc = netloc.encode("ascii")
639 self.assertEqual(p.netloc, netloc)
651 self.assertEqual(p.netloc, "")
659 self.assertEqual(p.netloc, "")
669 self.assertEqual(p.netloc, b"")
677 self.assertEqual(p.netloc, b"")