def test_set_url(self): r = tutils.treq_absolute() r.url = "https://otheraddress:42/ORLY" assert r.scheme == "https" assert r.host == "otheraddress" assert r.port == 42 assert r.path == "/ORLY"
def test_set_url(self): r = tutils.treq_absolute() r.url = "https://*****:*****@bar" assert False except: assert True