def test_HTTPSDistributor_prepopulateRings_with_proxies(self):
    'An HTTPSDistributor with proxies should prepopulate two extra\n        subhashrings (one for each of HTTP-Proxy-IPv4 and HTTP-Proxy-IPv6).\n        '
    dist = distributor.HTTPSDistributor(3, self.key, ProxySet(['1.1.1.1', '2.2.2.2']))
    [dist.insert(bridge) for bridge in self.bridges]
    dist.prepopulateRings()
    self.assertEqual(len(dist.hashring.filterRings), 8)
An HTTPSDistributor with proxies should prepopulate two extra
subhashrings (one for each of HTTP-Proxy-IPv4 and HTTP-Proxy-IPv6).
def test_HTTPSDistributor_prepopulateRings_with_proxies(self):
    'An HTTPSDistributor with proxies should prepopulate two extra\n        subhashrings (one for each of HTTP-Proxy-IPv4 and HTTP-Proxy-IPv6).\n        '
    dist = distributor.HTTPSDistributor(3, self.key, ProxySet(['1.1.1.1', '2.2.2.2']))
    [dist.insert(bridge) for bridge in self.bridges]
    dist.prepopulateRings()
    self.assertEqual(len(dist.hashring.filterRings), 8)