electrum

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

commit c9ffffc5267275a65e0449bc6bbc90434d1d9bfc
parent e5cd2ed52f172341623db5b79031d1042eb0d88b
Author: Dzhelil Rufat <drufat@caltech.edu>
Date:   Sat,  8 Sep 2018 08:24:23 -0700

Remove unneccessary imports from the unit testing directory. (#4699)


Diffstat:
Melectrum/tests/test_bitcoin.py | 1-
Melectrum/tests/test_interface.py | 2--
Melectrum/tests/test_mnemonic.py | 1-
Melectrum/tests/test_simple_config.py | 1-
Melectrum/tests/test_storage_upgrade.py | 2--
Melectrum/tests/test_transaction.py | 2--
Melectrum/tests/test_util.py | 1-
Melectrum/tests/test_wallet.py | 1-
Melectrum/tests/test_wallet_vertical.py | 3+--
9 files changed, 1 insertion(+), 13 deletions(-)

diff --git a/electrum/tests/test_bitcoin.py b/electrum/tests/test_bitcoin.py @@ -1,5 +1,4 @@ import base64 -import unittest import sys from electrum.bitcoin import ( diff --git a/electrum/tests/test_interface.py b/electrum/tests/test_interface.py @@ -1,5 +1,3 @@ -import unittest - from electrum import interface from . import SequentialTestCase diff --git a/electrum/tests/test_mnemonic.py b/electrum/tests/test_mnemonic.py @@ -1,4 +1,3 @@ -import unittest from electrum import keystore from electrum import mnemonic from electrum import old_mnemonic diff --git a/electrum/tests/test_simple_config.py b/electrum/tests/test_simple_config.py @@ -1,7 +1,6 @@ import ast import sys import os -import unittest import tempfile import shutil diff --git a/electrum/tests/test_storage_upgrade.py b/electrum/tests/test_storage_upgrade.py @@ -6,8 +6,6 @@ from electrum.wallet import Wallet from .test_wallet import WalletTestCase -from . import SequentialTestCase - # TODO add other wallet types: 2fa, xpub-only # TODO hw wallet with client version 2.6.x (single-, and multiacc) diff --git a/electrum/tests/test_transaction.py b/electrum/tests/test_transaction.py @@ -1,5 +1,3 @@ -import unittest - from electrum import transaction from electrum.bitcoin import TYPE_ADDRESS from electrum.keystore import xpubkey_to_address diff --git a/electrum/tests/test_util.py b/electrum/tests/test_util.py @@ -1,4 +1,3 @@ -import unittest from electrum.util import format_satoshis, parse_URI from . import SequentialTestCase diff --git a/electrum/tests/test_wallet.py b/electrum/tests/test_wallet.py @@ -1,7 +1,6 @@ import shutil import tempfile import sys -import unittest import os import json diff --git a/electrum/tests/test_wallet_vertical.py b/electrum/tests/test_wallet_vertical.py @@ -1,10 +1,9 @@ -import unittest from unittest import mock import shutil import tempfile from typing import Sequence -from electrum import storage, bitcoin, keystore, constants +from electrum import storage, bitcoin, keystore from electrum import Transaction from electrum import SimpleConfig from electrum.address_synchronizer import TX_HEIGHT_UNCONFIRMED, TX_HEIGHT_UNCONF_PARENT