tfix tests for travis. follow-up 68d891941667f707474198b024d7d723ac0de405 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit fad25af20405025b4cc30bfc4945e57016f1bc73 DIR parent ea55d886b7c8ad9a152323ae010e472cf6bb5a63 HTML Author: SomberNight <somber.night@protonmail.com> Date: Fri, 27 Apr 2018 21:55:50 +0200 fix tests for travis. follow-up 68d891941667f707474198b024d7d723ac0de405 Diffstat: M lib/tests/test_wallet_vertical.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) --- DIR diff --git a/lib/tests/test_wallet_vertical.py b/lib/tests/test_wallet_vertical.py t@@ -1,5 +1,7 @@ import unittest from unittest import mock +import shutil +import tempfile import lib from lib import storage, bitcoin, keystore, constants t@@ -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)