From 016370fd2617ca6c58b13378c3adcfb2744bfa00 Mon Sep 17 00:00:00 2001 From: Paulo Sousa Date: Fri, 5 Jul 2024 16:10:43 -0300 Subject: [PATCH] python: fix tests --- tests/python/tests.bats | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/python/tests.bats b/tests/python/tests.bats index 2ce44b0..b8bd99b 100644 --- a/tests/python/tests.bats +++ b/tests/python/tests.bats @@ -235,7 +235,7 @@ EOF popd assert_success - [[ "$output" == *"3.6.15"* ]] + [[ "$output" == *"3.9.15"* ]] } @test "change python version to closest version" { @@ -257,14 +257,14 @@ EOF assert_success [[ "$output" == *"3.10.11"* ]] - export PYTHON_VERSION=3.11 + export PYTHON_VERSION=3.10 run /var/lib/tsuru/deploy assert_success - [[ "$output" == *"Using already installed python version: 3.11.3"* ]] + [[ "$output" == *"Using already installed python version: 3.10.11"* ]] run python --version assert_success - [[ "$output" == *"3.11.3"* ]] + [[ "$output" == *"3.10.11"* ]] export PYTHON_VERSION=3 run /var/lib/tsuru/deploy @@ -334,7 +334,7 @@ EOF @test "can install uwsgi with python 3" { echo "3.10" > ${CURRENT_DIR}/.python-version - echo "uwsgi==2.0.18" > ${CURRENT_DIR}/requirements.txt + echo "uwsgi==2.0.26" > ${CURRENT_DIR}/requirements.txt run /var/lib/tsuru/deploy assert_success