Esempio n. 1
0
 def testEncode(self):
     self.assertEquals('\xf0G_\x00E`\x00\x00\x00\xf7',
                       replayingconnector.encode(eval(RESP)))
Esempio n. 2
0
def create_bytes(str_repr):
    return replayingconnector.encode(eval(str_repr))
Esempio n. 3
0
 def __init__(self, byte_str):
     self.bytes = replayingconnector.encode(eval(byte_str))