Skip to content

Commit 7395ae3

Browse files
committed
fix python tests
1 parent 8b4e8e5 commit 7395ae3

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,15 @@ def test_gets_results(monkeypatch):
3838
SeleniumManager().binary_paths([])
3939

4040
mock_get_binary.assert_called_once()
41-
expected_run_args = ["/path/to/sm", "--language-binding", "python", "--output", "json"]
41+
expected_run_args = [
42+
"/path/to/sm",
43+
"--language-binding",
44+
"python",
45+
"--language-version",
46+
f"{sys.version_info.major}.{sys.version_info.minor}",
47+
"--output",
48+
"json",
49+
]
4250
mock_run.assert_called_once_with(expected_run_args)
4351

4452

0 commit comments

Comments
 (0)