Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

webdriver: fixed screenshot tests.

  • Loading branch information...
commit 21818117c4a801f104554da17c35c9f71edeafc1 1 parent ce80154
@andrewsmedina andrewsmedina authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/screenshot.py
View
2  tests/screenshot.py
@@ -19,4 +19,4 @@ def test_take_screenshot_with_prefix(self):
def test_take_screenshot_with_suffix(self):
"should add the suffix to the screenshot file name"
filename = self.browser.screenshot(suffix='jpeg')
- self.assertEqual('jpg', filename[-3:])
+ self.assertEqual('jpeg', filename[-4:])
Please sign in to comment.
Something went wrong with that request. Please try again.