From 18a4c7351edd83c134eef1dd1f97fe4d58ee2153 Mon Sep 17 00:00:00 2001 From: axl89 Date: Mon, 5 Sep 2016 18:33:26 +0200 Subject: [PATCH] Modified the name of the tests --- tests/run_console_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/run_console_tests.py b/tests/run_console_tests.py index 9d14878d7e..82b6fb0513 100755 --- a/tests/run_console_tests.py +++ b/tests/run_console_tests.py @@ -24,14 +24,14 @@ tests.run(c) sauce_client = SauceClient(environ["SAUCE_USERNAME"], environ["SAUCE_ACCESS_KEY"]) for test,error_msg in c.failures+c.errors: try: - sauce_client.jobs.update_job(test.sauce_labs_job_id, passed=False,tags=[environ["TRAVIS_BRANCH"],test.id()],build_num=environ["TRAVIS_JOB_NUMBER"],name=str(environ["TRAVIS_COMMIT"])+"_"+str(test.id().split('.')[1]+': '+test.id().split('.')[2])) + sauce_client.jobs.update_job(test.sauce_labs_job_id, passed=False,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 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(environ["TRAVIS_COMMIT"])+"_"+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