From 12583246ee72c20417cee467e8497103d865fbeb Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Fri, 11 Sep 2015 20:17:20 +0900 Subject: [PATCH] Fix testcase --- lib/tests/test_wallet.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/tests/test_wallet.py b/lib/tests/test_wallet.py index a7021ef69..62831609e 100644 --- a/lib/tests/test_wallet.py +++ b/lib/tests/test_wallet.py @@ -55,8 +55,9 @@ class TestWalletStorage(WalletTestCase): storage = WalletStorage(self.wallet_path) some_dict = {"a":"b", "c":"d"} - storage.data = some_dict + for key, value in some_dict.items(): + storage.put(key, value, False) storage.write() contents = ""