'L{_getRandomNumber} raises L{ValueError} if the number of bits
passed to L{_getRandomNumber} is not a multiple of 8.'

def test_rejectsNonByteMultiples(self):

    self.assertRaises(ValueError, transport._getRandomNumber, None, 9)
