diff --git a/frappe/tests/ui/test_test_runner.py b/frappe/tests/ui/test_test_runner.py index 5743ccf2c3..8b396b6b95 100644 --- a/frappe/tests/ui/test_test_runner.py +++ b/frappe/tests/ui/test_test_runner.py @@ -9,15 +9,16 @@ class TestTestRunner(unittest.TestCase): for test in get_tests(): if test.startswith('#'): continue - print('Running {0}...'.format(test)) timeout = 60 if '#' in test: test, comment = test.split('#') test = test.strip() - if comment=='long': + if comment.strip()=='long': timeout = 240 + print('Running {0}...'.format(test)) + frappe.db.set_value('Test Runner', None, 'module_path', test) frappe.db.commit() driver.refresh()