tFix testcase - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 12583246ee72c20417cee467e8497103d865fbeb
DIR parent 849cc0200bca9862c22473bea1df41af4668cbe7
HTML Author: Neil Booth <kyuupichan@gmail.com>
Date: Fri, 11 Sep 2015 20:17:20 +0900
Fix testcase
Diffstat:
M lib/tests/test_wallet.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
DIR diff --git a/lib/tests/test_wallet.py b/lib/tests/test_wallet.py
t@@ -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 = ""