Permalink
Browse files

webdriver: fixed screenshot tests.

  • Loading branch information...
1 parent ce80154 commit 21818117c4a801f104554da17c35c9f71edeafc1 @andrewsmedina andrewsmedina committed Jan 27, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/screenshot.py
View
@@ -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:])

0 comments on commit 2181811

Please sign in to comment.