コード例 #1
0
ファイル: serialisation_tests.py プロジェクト: helgim/asynqp
 def because_we_pack_and_unpack_the_table(self, table):
     self.result = serialisation.read_table(BytesIO(serialisation.pack_table(table)))
コード例 #2
0
 def because_we_read_the_table(self, bytes, expected):
     self.result = serialisation.read_table(BytesIO(bytes))
コード例 #3
0
ファイル: serialisation_tests.py プロジェクト: helgim/asynqp
 def because_we_read_the_table(self, bytes, expected):
     self.result = serialisation.read_table(BytesIO(bytes))
コード例 #4
0
 def because_we_pack_and_unpack_the_table(self, table):
     self.result = serialisation.read_table(BytesIO(serialisation.pack_table(table)))