code: def test_transaction_repr(self):
      dt = pd.Timestamp("2017-01-01")
  
      asset = Equity(1, exchange="test")
      txn = Transaction(asset, amount=100, dt=dt, price=10, order_id=0)
  
      expected = (
          "Transaction(asset=Equity(1), dt=2017-01-01 00:00:00,"
          " amount=100, price=10)"
      )
  
      self.assertEqual(repr(txn), expected)
  
imports: import pandas
  from unittest import TestCase
  from catalyst.assets import Equity
  from catalyst.finance.transaction import Transaction
label_desc: Use image node_id 1 for calling the TransactionTestCase obj's underlying member method code with example usage: obj.test_transaction_repr() without return types