tfix tests - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit f22f8c614f0a0b87c38bc3f0b962722c6cadf4ba
DIR parent a5ffa69a3eac325dfa38102824abcfe751ffb704
HTML Author: SomberNight <SomberNight@users.noreply.github.com>
Date: Fri, 13 Oct 2017 05:52:58 +0200
fix tests
Diffstat:
M lib/tests/test_wallet.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
DIR diff --git a/lib/tests/test_wallet.py b/lib/tests/test_wallet.py
t@@ -45,18 +45,18 @@ class WalletTestCase(unittest.TestCase):
class TestWalletStorage(WalletTestCase):
- def test_read_dictionnary_from_file(self):
+ def test_read_dictionary_from_file(self):
some_dict = {"a":"b", "c":"d"}
contents = json.dumps(some_dict)
with open(self.wallet_path, "w") as f:
contents = f.write(contents)
- storage = WalletStorage(self.wallet_path)
+ storage = WalletStorage(self.wallet_path, manual_upgrades=True)
self.assertEqual("b", storage.get("a"))
self.assertEqual("d", storage.get("c"))
- def test_write_dictionnary_to_file(self):
+ def test_write_dictionary_to_file(self):
storage = WalletStorage(self.wallet_path)