Browse Source

fix tests for travis. follow-up 68d8919416

3.2.x
SomberNight 7 years ago
parent
commit
fad25af204
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 13
      lib/tests/test_wallet_vertical.py

13
lib/tests/test_wallet_vertical.py

@ -1,5 +1,7 @@
import unittest
from unittest import mock
import shutil
import tempfile
import lib
from lib import storage, bitcoin, keystore, constants
@ -318,7 +320,16 @@ class TestWalletKeystoreAddressIntegrityForTestnet(TestCaseForTestnet):
class TestWalletSending(TestCaseForTestnet):
config = SimpleConfig()
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.electrum_path = tempfile.mkdtemp()
cls.config = SimpleConfig({'electrum_path': cls.electrum_path})
@classmethod
def tearDownClass(cls):
super().tearDownClass()
shutil.rmtree(cls.electrum_path)
def create_standard_wallet_from_seed(self, seed_words):
ks = keystore.from_seed(seed_words, '', False)

Loading…
Cancel
Save