1458
1458
url += '%s:%s/' % (self.server.host, self.server.port)
1462
1462
return self._transport(self.get_user_url(user, password))
1465
1465
self.server.add_user('joe', 'foo')
1467
1467
self.assertRaises(errors.InvalidHttpResponse, t.get, 'a')
1468
1468
# Only one 'Authentication Required' error should occur
1469
1469
self.assertEqual(1, self.server.auth_required_errors)