electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit f22f8c614f0a0b87c38bc3f0b962722c6cadf4ba
parent a5ffa69a3eac325dfa38102824abcfe751ffb704
Author: SomberNight <SomberNight@users.noreply.github.com>
Date:   Fri, 13 Oct 2017 05:52:58 +0200

fix tests

Diffstat:
Mlib/tests/test_wallet.py | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/tests/test_wallet.py b/lib/tests/test_wallet.py @@ -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)