'Test fetching the balance of a dummy wallet'

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

    def on_balance(balance):
        self.assertIsInstance(balance, dict)
    return self.dummy_wallet.get_balance().addCallback(on_balance)
