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:
@@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user