def test_multiple_bytes(self): self.assertEqual(bits_to_bytes('100000000100000000100000'), [1, 2, 4])
def test_one_byte(self): self.assertEqual(bits_to_bytes('01010000'), [10])