Skip to content

Commit 8009c81

Browse files
committed
[py] Removed unused import
1 parent 27c9166 commit 8009c81

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

py/test/selenium/webdriver/chrome/chrome_service_tests.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import os
1919
import subprocess
2020
import time
21-
2221
from unittest.mock import patch
2322

2423
import pytest

py/test/selenium/webdriver/edge/edge_service_tests.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import os
1919
import subprocess
2020
import time
21-
2221
from unittest.mock import patch
2322

2423
import pytest

py/test/selenium/webdriver/firefox/firefox_service_tests.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,12 @@
1717

1818
import os
1919
import subprocess
20-
2120
from unittest.mock import patch
2221

2322
import pytest
2423

25-
from selenium.webdriver import Firefox
2624
from selenium.common.exceptions import SessionNotCreatedException
27-
from selenium.common.exceptions import WebDriverException
25+
from selenium.webdriver import Firefox
2826
from selenium.webdriver.firefox.options import Options
2927
from selenium.webdriver.firefox.service import Service
3028

@@ -68,7 +66,6 @@ def test_log_output_as_stdout(capfd) -> None:
6866

6967
def test_driver_is_stopped_if_browser_cant_start(clean_driver, driver_executable) -> None:
7068
options = Options()
71-
#options.set_preference('profile', "/no/such/location")
7269
options.add_argument("-profile==/no/such/location")
7370
service = Service()
7471
with pytest.raises(SessionNotCreatedException):

0 commit comments

Comments
 (0)