'Test the monitoring of a transaction in a Trustchain wallet'

@deferred(timeout=10)
def test_monitor_transaction(self):

    def on_transaction(transaction):
        self.assertEqual(transaction, 'a')
    return self.tc_wallet.monitor_transaction('abc.1').addCallback(on_transaction)
