def test_HTTPSDistributor_bridgesPerResponse_100_max_5(self):
    dist = distributor.HTTPSDistributor(3, self.key)
    dist._bridgesPerResponseMax = 5
    [dist.insert(bridge) for bridge in self.bridges[:100]]
    self.assertEqual(dist.bridgesPerResponse(), 5)
def test_HTTPSDistributor_bridgesPerResponse_100_max_5(self):
    dist = distributor.HTTPSDistributor(3, self.key)
    dist._bridgesPerResponseMax = 5
    [dist.insert(bridge) for bridge in self.bridges[:100]]
    self.assertEqual(dist.bridgesPerResponse(), 5)