def test_serialization(self):
    tx_bin = transaction.serialize(self.tx_obj)
    self.assertEqual(tx_bin, self.tx_bin)
def test_serialization(self):
    tx_bin = transaction.serialize(self.tx_obj)
    self.assertEqual(tx_bin, self.tx_bin)