From 79219cfc9fc853dc76008bb55e1171a7b10b3ff8 Mon Sep 17 00:00:00 2001
From: axl89 <axl89@users.noreply.github.com>
Date: Wed, 25 May 2016 16:38:10 +0200
Subject: [PATCH] Fixed Sauce Labs integration

---
 tests/console/include/common_classes_60.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/console/include/common_classes_60.py b/tests/console/include/common_classes_60.py
index 110e5ecbfb..9e203fb214 100644
--- a/tests/console/include/common_classes_60.py
+++ b/tests/console/include/common_classes_60.py
@@ -77,7 +77,7 @@ class PandoraWebDriverTestCase(TestCase):
 		self.driver.quit()
 		#Update Sauce Labs job
 		is_test_successful = self.verificationErrors == []
-		sauce_client.jobs.update_job(driver.session_id, passed=is_test_successful,tags=[environ["TRAVIS_BRANCH"],self.id()],build_num=environ["TRAVIS_JOB_NUMBER"],name=str(self.id())+"_"+str(environ["TRAVIS_BRANCH"])+"_"+str(environ["TRAVIS_JOB_NUMBER"]))
+		self.sauce_client.jobs.update_job(self.driver.session_id, passed=is_test_successful,tags=[environ["TRAVIS_BRANCH"],self.id()],build_num=environ["TRAVIS_JOB_NUMBER"],name=str(environ["TRAVIS_COMMIT"])+"_"+str(self.id().split('.')[1]))
 
 		self.assertEqual([], self.verificationErrors)
 		super(PandoraWebDriverTestCase, self).tearDown()