Skip to content

Commit

Permalink
Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Jun 28, 2022
1 parent 82aeacf commit 279ac02
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
*.egg-info
*.pyc
*.swp
*~
.DS_Store
.Python
.cache/
.coverage
.coverage.*
.DS_Store
.installed.cfg
.pytest_cache
.Python
.tox/
*.egg-info
*.pyc
*.swp
*~
bin
build
chromedriver.log
coverage-report/
coverage.xml
develop-eggs
Expand Down
2 changes: 1 addition & 1 deletion src/gocept/selenium/screenshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def save_as_expected(screenshot, img_basename, exp_path):
img_basename, exp_path))


def assertScreenshot(selenese, img_basename, locator, threshold=1):
def assertScreenshot(selenese, img_basename, locator, threshold=1.0):
exp_path = os.path.join(
_screenshot_path(selenese.screenshot_directory),
'%s.png' % img_basename)
Expand Down

0 comments on commit 279ac02

Please sign in to comment.