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