Fixing kivy test data
This commit is contained in:
parent
52d272065b
commit
a5a56fe7f1
|
@ -54,15 +54,7 @@ class TeleniumTestProcess(TeleniumTestCase):
|
||||||
def tearDownClass(cls):
|
def tearDownClass(cls):
|
||||||
"""Ensures that pybitmessage stopped and removes files"""
|
"""Ensures that pybitmessage stopped and removes files"""
|
||||||
# pylint: disable=no-member
|
# pylint: disable=no-member
|
||||||
try:
|
super(TeleniumTestProcess, cls).tearDownClass()
|
||||||
cls.cli.app_quit()
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
|
|
||||||
try:
|
|
||||||
cls.process.kill()
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
cleanup()
|
cleanup()
|
||||||
|
|
||||||
def assert_wait_no_except(self, selector, timeout=-1, value='inbox'):
|
def assert_wait_no_except(self, selector, timeout=-1, value='inbox'):
|
||||||
|
|
|
@ -31,9 +31,9 @@ def main():
|
||||||
# close the main program even if there are threads left
|
# close the main program even if there are threads left
|
||||||
addressGeneratorThread.daemon = True
|
addressGeneratorThread.daemon = True
|
||||||
addressGeneratorThread.start()
|
addressGeneratorThread.start()
|
||||||
|
|
||||||
state.kivyapp = NavigateApp()
|
state.kivyapp = NavigateApp()
|
||||||
state.kivyapp.run()
|
state.kivyapp.run()
|
||||||
|
addressGeneratorThread.stopThread()
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Reference in New Issue
Block a user