Fix python version test

This commit is contained in:
Ayaz Salikhov
2022-05-27 16:52:09 +04:00
parent 139254225e
commit 806a0c3a29

View File

@@ -17,8 +17,9 @@ def test_python_version(
logs = container.run_and_wait( logs = container.run_and_wait(
timeout=5, timeout=5,
tty=True, tty=True,
command=["start.sh", "python", "--version"], command=["python", "--version"],
) )
assert logs.startswith("Python ")
actual_python_version = version.parse(logs.split()[1]) actual_python_version = version.parse(logs.split()[1])
assert actual_python_version < version.parse( assert actual_python_version < version.parse(
python_next_version python_next_version