Closed etam closed 6 years ago
Ok, this seems to be related to a change I did (it's is my branch, not merged yet), which seems reasonable:
modified golem/report.py
@@ -78,7 +77,7 @@ def done_deferred(return_value=None):
)
@patch('signal.signal')
@patch('golem.network.p2p.node.Node.collect_network_info')
-class TestClient(TestWithDatabase, TestWithReactor):
+class TestClient(TestDatabaseWithReactor):
# FIXME: if we someday decide to run parallel tests,
# this may completely break. Issue #2456
# pylint: disable=attribute-defined-outside-init
@@ -86,6 +85,7 @@ class TestClient(TestWithDatabase, TestWithReactor):
def tearDown(self):
if hasattr(self, 'client'):
self.client.quit()
+ super().tearDown()
def test_get_payments(self, *_):
self.client = Client(
@@ -917,11 +917,11 @@ def make_mock_payment_processor(sci, eth=100, gnt=100):
@patch('signal.signal')
@patch('golem.network.p2p.node.Node.collect_network_info')
-class TestClientRPCMethods(TestWithDatabase, LogTestCase):
+class TestClientRPCMethods(TestDatabaseWithReactor, LogTestCase):
def setUp(self):
- super(TestClientRPCMethods, self).setUp()
+ super().setUp()
with patch('golem.network.concent.handlers_library.HandlersLibrary'
'.register_handler', ):
apps_manager = AppsManager(False)
@@ -955,6 +955,7 @@ class TestClientRPCMethods(TestWithDatabase, LogTestCase):
def tearDown(self):
self.client.quit()
+ super().tearDown()
def test_node(self, *_):
c = self.client
This might be related: