Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

comments

  • Loading branch information...
commit cdc4b9c7f559399c763386601f9428f84035ee70 1 parent 1aa2ee4
jeremy avnet / @brainsik brainsik authored

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. +3 2 app_test.py
5 app_test.py
@@ -37,9 +37,10 @@ def setUp(self):
37 37 )
38 38 self.driver.implicitly_wait(30)
39 39 self.test_id = self.driver.session_id
40   - print "Test page is https://saucelabs.com/jobs/%s" % self.test_id
  40 + print "Test is running at https://saucelabs.com/jobs/%s" % self.test_id
41 41
42 42 def _send_passed(self):
  43 + """Tell Sauce Labs whether the test passed."""
43 44 if not self._basic_auth:
44 45 self._basic_auth = "Basic {}".format(
45 46 base64.encodestring("{0.user}:{0.key}".format(self))[:-1])
@@ -82,7 +83,7 @@ def test_naminator(self):
82 83 self._passed = True
83 84
84 85 def tearDown(self):
85   - self._send_passed()
  86 + self._send_passed() # mark the test pass/fail on sauce
86 87 self.driver.quit()
87 88
88 89

0 comments on commit cdc4b9c

Please sign in to comment.
Something went wrong with that request. Please try again.