def test_deserialization(self):
    tx_obj = transaction.deserialize(self.tx_bin)
    self.assertEqual(tx_obj, self.tx_obj)
def test_deserialization(self):
    tx_obj = transaction.deserialize(self.tx_bin)
    self.assertEqual(tx_obj, self.tx_obj)