Skip to content

Commit 5c0c62d

Browse files
committed
linted
1 parent 399d96d commit 5c0c62d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ def test_gets_results(monkeypatch):
3131
expected_output = {"driver_path": "/path/to/driver"}
3232
lib_path = "selenium.webdriver.common.selenium_manager.SeleniumManager"
3333

34-
with mock.patch(lib_path + "._get_binary", return_value="/path/to/sm") as mock_get_binary, mock.patch(
35-
lib_path + "._run", return_value=expected_output
36-
) as mock_run:
34+
with (
35+
mock.patch(lib_path + "._get_binary", return_value="/path/to/sm") as mock_get_binary,
36+
mock.patch(lib_path + "._run", return_value=expected_output) as mock_run,
37+
):
3738
SeleniumManager().binary_paths([])
38-
3939
mock_get_binary.assert_called_once()
4040
expected_run_args = ["/path/to/sm", "--language-binding", "python", "--output", "json"]
4141
mock_run.assert_called_once_with(expected_run_args)

0 commit comments

Comments
 (0)