def test_HTTPSDistributor_init_with_proxies(self):
    'The HTTPSDistributor, when initialised with proxies, should add an\n        extra hashring for proxy users.\n        '
    dist = distributor.HTTPSDistributor(3, self.key, ProxySet(['1.1.1.1', '2.2.2.2']))
    self.assertIsNotNone(dist.proxies)
    self.assertGreater(dist.proxySubring, 0)
    self.assertEqual(dist.proxySubring, 4)
    self.assertEqual(dist.totalSubrings, 4)
The HTTPSDistributor, when initialised with proxies, should add an
extra hashring for proxy users.
def test_HTTPSDistributor_init_with_proxies(self):
    'The HTTPSDistributor, when initialised with proxies, should add an\n        extra hashring for proxy users.\n        '
    dist = distributor.HTTPSDistributor(3, self.key, ProxySet(['1.1.1.1', '2.2.2.2']))
    self.assertIsNotNone(dist.proxies)
    self.assertGreater(dist.proxySubring, 0)
    self.assertEqual(dist.proxySubring, 4)
    self.assertEqual(dist.totalSubrings, 4)