'FortunaAccumulator.FortunaAccumulator minimum pool length'

def test_accumulator_pool_length(self):

    fa = FortunaAccumulator.FortunaAccumulator()
    self.assertEqual(fa.min_pool_size, 64)
    self.assertRaises(AssertionError, fa.random_data, 1)
    for i in range(15):
        for p in range(32):
            fa.add_random_event(2, p, b('XX'))
            self.assertRaises(AssertionError, fa.random_data, 1)
    fa.add_random_event(2, 0, b('XX'))
    fa.random_data(1)
