From 64898d43f18ad4386bc6923dd7a790470fd74ad0 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Wed, 7 Nov 2018 17:04:49 -0500 Subject: [PATCH] tearDown() should run before daemon shutdown --- tests/integration/wallet/test_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/wallet/test_commands.py b/tests/integration/wallet/test_commands.py index 7d4ca8f54..548863e59 100644 --- a/tests/integration/wallet/test_commands.py +++ b/tests/integration/wallet/test_commands.py @@ -163,9 +163,9 @@ class CommandTestCase(IntegrationTestCase): self.manager.old_db = self.daemon.storage async def tearDown(self): + await super().tearDown() self.wallet_component._running = False await d2f(self.daemon._shutdown()) - await super().tearDown() async def confirm_tx(self, txid): """ Wait for tx to be in mempool, then generate a block, wait for tx to be in a block. """