Created
June 2, 2011 01:12
-
-
Save santiycr/1003731 to your computer and use it in GitHub Desktop.
Let Sauce know about your Selenium 1 python test results with 2 lines of code!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def tearDown(self): | |
| passed = {'passed': self._exc_info() == (None, None, None)} | |
| self.selenium.set_context("sauce: job-info=%s" % json.dumps(passed)) | |
| self.selenium.stop() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment