Commit d94f2359 authored by Ivan Tyagov's avatar Ivan Tyagov

Fix unbound error case.

parent bcb094e6
......@@ -68,6 +68,7 @@ def main():
if not getattr(args, 'target_device', None):
args.target_device = parsed_parameters.get('target-device')
is_browser_running = False
try:
test_suite_title = args.test_suite_title or args.test_suite
test_suite = args.test_suite
......@@ -198,6 +199,8 @@ def main():
finally:
if is_browser_running:
# if by any chance browser is still running due to
# traceback raised make sure we cleanup
browser.quit()
if __name__ == "__main__":
......
......@@ -107,7 +107,7 @@ mode = 0644
[template-runTestSuite]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/runTestSuite.in
md5sum = 020f67ccfdf51a529579ab629cd9afe4
md5sum = f78b3205a6a2af6fc2d437fdf30440f6
output = ${buildout:directory}/runTestSuite.in
mode = 0644
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment