diff --git a/torba/orchstr8/node.py b/torba/orchstr8/node.py index 5c34d6b38..991ea1241 100644 --- a/torba/orchstr8/node.py +++ b/torba/orchstr8/node.py @@ -307,7 +307,7 @@ class BlockchainNode: ) self.log.info(' '.join(command)) self.transport, self.protocol = await loop.subprocess_exec( - lambda: BlockchainProcess(), *command + BlockchainProcess, *command ) await self.protocol.ready.wait() diff --git a/torba/testcase.py b/torba/testcase.py index e6074c7e9..84a2f4a41 100644 --- a/torba/testcase.py +++ b/torba/testcase.py @@ -66,9 +66,6 @@ class AsyncioTestCase(unittest.TestCase): async def asyncTearDown(self): # pylint: disable=C0103 pass - async def doAsyncCleanups(self): # pylint: disable=C0103 - pass - def run(self, result=None): # pylint: disable=R0915 orig_result = result if result is None: @@ -154,7 +151,7 @@ class AsyncioTestCase(unittest.TestCase): # clear the outcome, no more needed self._outcome = None - def doAsyncCleanups(self, loop): + def doAsyncCleanups(self, loop): # pylint: disable=C0103 outcome = self._outcome or _Outcome() while self._cleanups: function, args, kwargs = self._cleanups.pop()