From 0fe78ffc16f5d1a762acb65dc0e7562f10bc14ed Mon Sep 17 00:00:00 2001 From: axl89 Date: Tue, 6 Sep 2016 11:07:28 +0200 Subject: [PATCH] Fixed syntax --- tests/run_console_tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/run_console_tests.py b/tests/run_console_tests.py index 82b6fb0513..3e21f76620 100755 --- a/tests/run_console_tests.py +++ b/tests/run_console_tests.py @@ -31,7 +31,8 @@ for test,error_msg in c.failures+c.errors: for test,error_msg in c.success+c.skipped: try: - sauce_client.jobs.update_job(test.sauce_labs_job_id, passed=True,tags=[environ["TRAVIS_BRANCH"],test.id()],build_num=environ["TRAVIS_JOB_NUMBER"],name=str(test.id().split('.')[1]+': '+test.id().split('.')[2]) + sauce_client.jobs.update_job(test.sauce_labs_job_id, passed=True,tags=[environ["TRAVIS_BRANCH"],test.id()],build_num=environ["TRAVIS_JOB_NUMBER"],name=str(test.id().split('.')[1]+': '+test.id().split('.')[2])) + except: print "Could not annotate Sauce Labs job #%s" % str(test) next