1
0

tests: fix thinko in ElectrumTestCase base class

can't see why it was cross-calling the setUpClass from the
individual test setUp
This commit is contained in:
SomberNight
2021-02-24 13:32:29 +01:00
parent a9d0e3fca9
commit 52eb9dcad9

View File

@@ -31,11 +31,11 @@ class ElectrumTestCase(SequentialTestCase):
"""Base class for our unit tests.""" """Base class for our unit tests."""
def setUp(self): def setUp(self):
super().setUpClass() super().setUp()
self.electrum_path = tempfile.mkdtemp() self.electrum_path = tempfile.mkdtemp()
def tearDown(self): def tearDown(self):
super().tearDownClass() super().tearDown()
shutil.rmtree(self.electrum_path) shutil.rmtree(self.electrum_path)