def testBitReadBaseResponseEncoding(self):
     ''' Test basic bit message encoding/decoding '''
     for i in range(20):
         input = [True] * i
         handle = ReadBitsResponseBase(input)
         result = handle.encode()
         handle.decode(result)
         self.assertEqual(handle.bits[:i], input)
 def testBitReadBaseResponseEncoding(self):
     ''' Test basic bit message encoding/decoding '''
     for i in range(20):
         input  = [True] * i
         handle = ReadBitsResponseBase(input)
         result = handle.encode()
         handle.decode(result)
         self.assertEqual(handle.bits[:i], input)