tfix tests - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit abdb7f847028dd2863e2dbd9f9190d2f8b3530e9 DIR parent f6661fdd2c9970970401b77db8383640222e4a5d HTML Author: ThomasV <thomasv@electrum.org> Date: Fri, 15 Jan 2016 18:14:06 +0100 fix tests Diffstat: M lib/tests/test_transaction.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/tests/test_transaction.py b/lib/tests/test_transaction.py t@@ -1,5 +1,6 @@ import unittest from lib import transaction +from lib.bitcoin import TYPE_ADDRESS import pprint t@@ -68,7 +69,7 @@ class TestTransaction(unittest.TestCase): 'address': '14CHYaaByjJZpx4oHBpfDMdqhTyXnZ3kVs', 'prevout_n': 0, 'scriptPubKey': '76a914230ac37834073a42146f11ef8414ae929feaafc388ac', - 'type': 'address', + 'type': TYPE_ADDRESS, 'value': 1000000}], 'version': 1 } t@@ -113,7 +114,7 @@ class TestTransaction(unittest.TestCase): 'address': '14CHYaaByjJZpx4oHBpfDMdqhTyXnZ3kVs', 'prevout_n': 0, 'scriptPubKey': '76a914230ac37834073a42146f11ef8414ae929feaafc388ac', - 'type': 'address', + 'type': TYPE_ADDRESS, 'value': 1000000}], 'version': 1 }