Skip to content

Commit ebff5c5

Browse files
committed
[py] Fix formatting
1 parent 02f3143 commit ebff5c5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

py/test/selenium/webdriver/common/selenium_manager_tests.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
# under the License.
1717

1818
import json
19-
import platform
2019
import sys
2120
from pathlib import Path
2221
from unittest import mock
@@ -44,7 +43,7 @@ def test_gets_results(monkeypatch):
4443

4544

4645
def test_uses_environment_variable(monkeypatch):
47-
sm_path = r"\path\to\manager" if sys.platform.startswith("win") else "path/to/manager"
46+
sm_path = r"\path\to\manager" if sys.platform.startswith("win") else "path/to/manager"
4847
monkeypatch.setenv("SE_MANAGER_PATH", sm_path)
4948
monkeypatch.setattr(Path, "is_file", lambda _: True)
5049

@@ -61,7 +60,6 @@ def test_uses_windows(monkeypatch):
6160
assert binary == project_root.joinpath("selenium/webdriver/common/windows/selenium-manager.exe")
6261

6362

64-
6563
def test_uses_linux(monkeypatch):
6664
monkeypatch.setattr(sys, "platform", "linux")
6765
monkeypatch.setattr("platform.machine", lambda: "x86_64")
@@ -105,7 +103,7 @@ def test_errors_if_invalid_os(monkeypatch):
105103

106104

107105
def test_error_if_invalid_env_path(monkeypatch):
108-
sm_path = r"\path\to\manager" if sys.platform.startswith("win") else "path/to/manager"
106+
sm_path = r"\path\to\manager" if sys.platform.startswith("win") else "path/to/manager"
109107
monkeypatch.setenv("SE_MANAGER_PATH", sm_path)
110108

111109
with pytest.raises(WebDriverException) as excinfo:

0 commit comments

Comments
 (0)