Skip to content

Commit

Permalink
white space changes to try get see if sauce will work
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomatedTester committed May 27, 2013
1 parent 1644d6c commit b00d560
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions bisectcloud/base/test/selenium_base.py
Expand Up @@ -9,20 +9,20 @@ class BaseTestCase(LiveServerTestCase):
@classmethod
def setUpClass(cls):
try:
os.environ['SAUCE_USERNAME']
desired_capabilities = webdriver.DesiredCapabilities.FIREFOX
desired_capabilities['version'] = os.environ['SAUCE_BROWSER_VERSION']
desired_capabilities['platform'] = os.environ['SAUCE_PLATFORM']
desired_capabilities['name'] = 'Bisect in the cloud'
os.environ['SAUCE_USERNAME']
desired_capabilities = webdriver.DesiredCapabilities.FIREFOX
desired_capabilities['version'] = os.environ['SAUCE_BROWSER_VERSION']
desired_capabilities['platform'] = os.environ['SAUCE_PLATFORM']
desired_capabilities['name'] = 'Bisect in the cloud'

cls.driver = webdriver.Remote(desired_capabilities=desired_capabilities,
cls.driver = webdriver.Remote(desired_capabilities=desired_capabilities,
command_executor="http://%s:%s@ondemand.saucelabs.com:80/wd/hub" % \
(os.environ['SAUCE_USERNAME'],
os.environ['SAUCE_ACCESS_KEY'])
)
except Exception as e:
print e
cls.driver = webdriver.Firefox()
print ("This following error was encounterd: %s" % e)
cls.driver = webdriver.Firefox()
super(BaseTestCase, cls).setUpClass()

@classmethod
Expand Down

0 comments on commit b00d560

Please sign in to comment.