commit 52eb9dcad938de3f09300e2f0b5256ac88d1f336
parent a9d0e3fca9dd756b7629890f04429a056d893a88
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 24 Feb 2021 13:32:29 +0100
tests: fix thinko in ElectrumTestCase base class
can't see why it was cross-calling the setUpClass from the
individual test setUp
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/electrum/tests/__init__.py b/electrum/tests/__init__.py
@@ -31,11 +31,11 @@ class ElectrumTestCase(SequentialTestCase):
"""Base class for our unit tests."""
def setUp(self):
- super().setUpClass()
+ super().setUp()
self.electrum_path = tempfile.mkdtemp()
def tearDown(self):
- super().tearDownClass()
+ super().tearDown()
shutil.rmtree(self.electrum_path)