electrum

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

commit c2d175cb60db02cb31e9f92a56a96ffb3fd807d9
parent ef74ae57ff488c784e3890429ea8e8335b5b8569
Author: ThomasV <thomasv@gitorious>
Date:   Mon, 25 Aug 2014 15:55:06 +0200

remove broken tests

Diffstat:
Mlib/tests/test_wallet.py | 23+----------------------
1 file changed, 1 insertion(+), 22 deletions(-)

diff --git a/lib/tests/test_wallet.py b/lib/tests/test_wallet.py @@ -103,15 +103,10 @@ class TestWalletStorage(WalletTestCase): class TestNewWallet(WalletTestCase): - seed_text = "The seed will sprout and grow up tall." + seed_text = "travel nowhere air position hill peace suffer parent beautiful rise blood power home crumble teach" password = "secret" - master_xpub = "xpub661MyMwAqRbcGEop5Rnp68oX1ikeFNVMtx1utwXZGRKMmeXVxwBM5UzkwU9nGB1EofZekLDRfi1w5F9P7Vac3PEuWdWHr2gHLW8vp5YyKJ1" - master_xpriv = "xprv9s21ZrQH143K3kjLyQFoizrnTgv9qumWXj6K6Z7wi5nNtrCMRPs6XggH6Bbgz9CUgPJnZnV74yUdRSr8qWVELr9QQTgU5aNL33ViMyD9nhs" - first_account_name = "account1" - first_account_first_address = "1Jv9pLCJ4Sqr7aDYLGX5QhET4ps5qRcB9V" - first_account_second_address = "14n9EsZsgTTc4eC4TxeP1ccP8bXgwxPMmL" import_private_key = "L52XzL2cMkHxqxBXRyEpnPQZGUs3uKiL3R11XbAdHigRzDozKZeW" import_key_address = "15mKKb2eos1hWa6tisdPwwDC1a5J1y9nma" @@ -144,22 +139,6 @@ class TestNewWallet(WalletTestCase): self.assertEqual(self.wallet.get_seed(self.password), self.seed_text) self.assertEqual(0, len(self.wallet.addresses())) - def test_add_account(self): - self.wallet.create_account(self.first_account_name, self.password) - self.assertEqual(1, len(self.wallet.addresses())) - self.assertIn(self.first_account_first_address, - self.wallet.addresses()) - - def test_add_account_add_address(self): - self.wallet.create_account(self.first_account_name, self.password) - self.wallet.synchronizer = FakeSynchronizer() - - self.wallet.create_new_address() - self.assertEqual(2, len(self.wallet.addresses())) - self.assertIn(self.first_account_first_address, - self.wallet.addresses()) - self.assertIn(self.first_account_second_address, - self.wallet.addresses()) def test_key_import(self): # Wallets have no imported keys by default.