From 35f937a630dada3e8c8f477da345c91dd15cb053 Mon Sep 17 00:00:00 2001 From: axl89 Date: Wed, 25 May 2016 15:50:35 +0200 Subject: [PATCH] Fixed using self outside class --- tests/console/include/common_classes_60.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/console/include/common_classes_60.py b/tests/console/include/common_classes_60.py index 90afeb0d9c..110e5ecbfb 100644 --- a/tests/console/include/common_classes_60.py +++ b/tests/console/include/common_classes_60.py @@ -37,8 +37,6 @@ class PandoraWebDriverTestCase(TestCase): 'version': "46", } - sauce_custom_tags = [environ["TRAVIS_BRANCH"],self.id()] - def setUp(self): self.time_started = datetime.now() #Start VM in Sauce Labs @@ -79,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=self.sauce_custom_tags,build_num=environ["TRAVIS_JOB_NUMBER"],name=str(self.id())+"_"+str(environ["TRAVIS_BRANCH"])+"_"+str(environ["TRAVIS_JOB_NUMBER"])) + 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.assertEqual([], self.verificationErrors) super(PandoraWebDriverTestCase, self).tearDown()