Exemple #1
0
 def test_compress(self):
     self.assertEqual(self.data_struct, pubsub.deserialize(pubsub.decompress(pubsub.compress(pubsub.serialize(self.data_struct)))))
Exemple #2
0
 def test_serialize(self):
     self.assertEqual(self.data_struct, pubsub.deserialize(pubsub.serialize(self.data_struct)))