mavsdk_tests: fix PEP8 issues

This commit is contained in:
Julian Oes
2020-01-06 13:49:20 +01:00
committed by Daniel Agar
parent e29acea509
commit 9e239e47c4

View File

@@ -241,7 +241,8 @@ def main():
os.getcwd(), args.log_dir)
gzclient_runner.start(group)
test_runner = TestRunner(os.getcwd(), args.log_dir, group, test)
test_runner = TestRunner(
os.getcwd(), args.log_dir, group, test)
test_runner.start(group)
returncode = test_runner.wait(group['timeout_min'])
@@ -261,7 +262,8 @@ def main():
print("Test '{}': {}".
format(test, "Success" if was_success else "Fail"))
# Flag it as group test failure, but finish the rest of the test targets
# Flag it as group test failure, but finish the rest of the
# test targets.
if not was_success:
overall_success = False
@@ -278,5 +280,6 @@ def main():
sys.exit(0 if overall_success else 1)
if __name__ == '__main__':
main()