tfix broken test - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 03f4b4c9330e2c973b336bde1ca93534d8d9cc8c DIR parent 9f8e537a7e49df8c1e41ff7262de3c7391e74b0e HTML Author: ThomasV <thomasv@gitorious> Date: Mon, 25 Aug 2014 15:11:52 +0200 fix broken test 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@@ -3,6 +3,7 @@ import tempfile import sys import unittest import os +import json from StringIO import StringIO from lib.wallet import WalletStorage, NewWallet t@@ -97,7 +98,7 @@ class TestWalletStorage(WalletTestCase): contents = "" with open(path, "r") as f: contents = f.read() - self.assertEqual(repr(some_dict), contents) + self.assertEqual(some_dict, json.loads(contents)) class TestNewWallet(WalletTestCase):