From 7dac5cd2670dc74a2dde7e640d2d71426ea32605 Mon Sep 17 00:00:00 2001 From: Insoleet <insomniak.fr@gmail.com> Date: Wed, 9 Sep 2015 12:55:34 +0200 Subject: [PATCH] Add back mock deletion --- src/cutecoin/tests/process_cfg_community/test_add_community.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cutecoin/tests/process_cfg_community/test_add_community.py b/src/cutecoin/tests/process_cfg_community/test_add_community.py index 28c287ff..dfb224a1 100644 --- a/src/cutecoin/tests/process_cfg_community/test_add_community.py +++ b/src/cutecoin/tests/process_cfg_community/test_add_community.py @@ -97,6 +97,7 @@ class ProcessAddCommunity(unittest.TestCase): self.lp.call_later(15, close_dialog) asyncio.async(exec_test()) self.lp.run_until_complete(open_dialog(process_community)) + mock.delete_mock() def test_connect_community_empty_blockchain(self): mock = new_blockchain.get_mock() @@ -148,6 +149,7 @@ class ProcessAddCommunity(unittest.TestCase): self.lp.call_later(15, close_dialog) asyncio.async(exec_test()) self.lp.run_until_complete(open_dialog(process_community)) + mock.delete_mock() def test_connect_community_nice_blockchain(self): mock = nice_blockchain.get_mock() @@ -194,6 +196,7 @@ class ProcessAddCommunity(unittest.TestCase): self.lp.call_later(15, close_dialog) asyncio.async(exec_test()) self.lp.run_until_complete(open_dialog(process_community)) + mock.delete_mock() if __name__ == '__main__': logging.basicConfig( stream=sys.stderr ) -- GitLab