Skip to content

Commit bfa834f

Browse files
committed
[py] Remove unused driver.quit()
1 parent 01bac7c commit bfa834f

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,6 @@ def test_driver_is_stopped_if_browser_cant_start(clean_driver) -> None:
117117
driver = clean_driver(options=options, service=service)
118118
assert not service.is_connectable()
119119
assert service.process.poll() is not None
120-
try:
121-
driver.quit()
122-
except Exception:
123-
pass
124120

125121

126122
@pytest.fixture

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,6 @@ def test_driver_is_stopped_if_browser_cant_start(clean_driver) -> None:
117117
driver = clean_driver(options=options, service=service)
118118
assert not service.is_connectable()
119119
assert service.process.poll() is not None
120-
try:
121-
driver.quit()
122-
except Exception:
123-
pass
124120

125121

126122
@pytest.fixture

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,6 @@ def test_driver_is_stopped_if_browser_cant_start(clean_driver) -> None:
7272
driver = clean_driver(options=options, service=service)
7373
assert not service.is_connectable()
7474
assert service.process.poll() is not None
75-
try:
76-
driver.quit()
77-
except Exception:
78-
pass
7975

8076

8177
@pytest.fixture

0 commit comments

Comments
 (0)