Skip to content
Snippets Groups Projects
Commit 7dac5cd2 authored by inso's avatar inso
Browse files

Add back mock deletion

parent 4ec183b6
No related branches found
No related tags found
No related merge requests found
...@@ -97,6 +97,7 @@ class ProcessAddCommunity(unittest.TestCase): ...@@ -97,6 +97,7 @@ class ProcessAddCommunity(unittest.TestCase):
self.lp.call_later(15, close_dialog) self.lp.call_later(15, close_dialog)
asyncio.async(exec_test()) asyncio.async(exec_test())
self.lp.run_until_complete(open_dialog(process_community)) self.lp.run_until_complete(open_dialog(process_community))
mock.delete_mock()
def test_connect_community_empty_blockchain(self): def test_connect_community_empty_blockchain(self):
mock = new_blockchain.get_mock() mock = new_blockchain.get_mock()
...@@ -148,6 +149,7 @@ class ProcessAddCommunity(unittest.TestCase): ...@@ -148,6 +149,7 @@ class ProcessAddCommunity(unittest.TestCase):
self.lp.call_later(15, close_dialog) self.lp.call_later(15, close_dialog)
asyncio.async(exec_test()) asyncio.async(exec_test())
self.lp.run_until_complete(open_dialog(process_community)) self.lp.run_until_complete(open_dialog(process_community))
mock.delete_mock()
def test_connect_community_nice_blockchain(self): def test_connect_community_nice_blockchain(self):
mock = nice_blockchain.get_mock() mock = nice_blockchain.get_mock()
...@@ -194,6 +196,7 @@ class ProcessAddCommunity(unittest.TestCase): ...@@ -194,6 +196,7 @@ class ProcessAddCommunity(unittest.TestCase):
self.lp.call_later(15, close_dialog) self.lp.call_later(15, close_dialog)
asyncio.async(exec_test()) asyncio.async(exec_test())
self.lp.run_until_complete(open_dialog(process_community)) self.lp.run_until_complete(open_dialog(process_community))
mock.delete_mock()
if __name__ == '__main__': if __name__ == '__main__':
logging.basicConfig( stream=sys.stderr ) logging.basicConfig( stream=sys.stderr )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment