commit 9f8e537a7e49df8c1e41ff7262de3c7391e74b0e
parent 9fea7dfbde308a089ee5e39f36ffe689bba51ea5
Author: ThomasV <thomasv@gitorious>
Date: Mon, 25 Aug 2014 14:16:31 +0200
fix broken test
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/tests/test_wallet.py b/lib/tests/test_wallet.py
@@ -131,7 +131,8 @@ class TestNewWallet(WalletTestCase):
# in setUp()
new_dir = tempfile.mkdtemp()
config = FakeConfig(new_dir)
- wallet = NewWallet(config)
+ storage = WalletStorage(config)
+ wallet = NewWallet(storage)
self.assertTrue(wallet.is_watching_only())
shutil.rmtree(new_dir) # Don't leave useless stuff in /tmp