Skip to content

Commit

Permalink
Upgrade selenium to fix pytest.PytestUnraisableExceptionWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
asmorodskyi committed Jan 29, 2024
1 parent 63cf989 commit c6eddf9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ flake8
pytest-cov
pylint
podman~=4.6.0
selenium~=4.12.0
selenium~=4.17.2
6 changes: 0 additions & 6 deletions tests/test_webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@
from selenium.webdriver import firefox
from selenium.webdriver.common.by import By

# This can be dropped when Selenium switches to no longer write to geckodriver.log
import warnings
# Ignore ResourceWarning messages that can happen at random when closing resources:
# Exception ignored in: <_io.FileIO name='/dev/null' mode='wb' closefd=True>
warnings.filterwarnings(action="ignore", message="unclosed", category=ResourceWarning)


USERNAME = "username"
PASSWORD = "password"
Expand Down

0 comments on commit c6eddf9

Please sign in to comment.