Browse Source

tests: fix thinko in ElectrumTestCase base class

can't see why it was cross-calling the setUpClass from the
individual test setUp
patch-4
SomberNight 4 years ago
parent
commit
52eb9dcad9
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 4
      electrum/tests/__init__.py

4
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)

Loading…
Cancel
Save