'Test the balance retrieval of a Trustchain wallet'

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

    def on_balance(balance):
        self.assertEqual(balance['available'], 5)
    return self.tc_wallet.get_balance().addCallback(on_balance)
