Skip to content

Commit a5a56fe

Browse files
committed
Fixing kivy test data
1 parent 52d2720 commit a5a56fe

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

src/bitmessagekivy/tests/telenium_process.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,7 @@ def populate_test_data():
5454
def tearDownClass(cls):
5555
"""Ensures that pybitmessage stopped and removes files"""
5656
# pylint: disable=no-member
57-
try:
58-
cls.cli.app_quit()
59-
except:
60-
pass
61-
62-
try:
63-
cls.process.kill()
64-
except:
65-
pass
57+
super(TeleniumTestProcess, cls).tearDownClass()
6658
cleanup()
6759

6860
def assert_wait_no_except(self, selector, timeout=-1, value='inbox'):

src/mock/kivy_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ def main():
3131
# close the main program even if there are threads left
3232
addressGeneratorThread.daemon = True
3333
addressGeneratorThread.start()
34-
3534
state.kivyapp = NavigateApp()
3635
state.kivyapp.run()
36+
addressGeneratorThread.stopThread()
3737

3838

3939
if __name__ == "__main__":

0 commit comments

Comments
 (0)