Skip to content

Commit

Permalink
Fix URLs in the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mateumann committed Mar 8, 2021
1 parent 1bacfa5 commit 3bdafde
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/python-build/test/pyenv_ext.bats
Original file line number Diff line number Diff line change
Expand Up @@ -360,22 +360,22 @@ OUT
run_inline_definition_with_name --name=2.6 <<OUT
echo "\${GET_PIP_URL}"
OUT
assert_output "https://bootstrap.pypa.io/2.6/get-pip.py"
assert_output "https://bootstrap.pypa.io/pip/2.6/get-pip.py"
assert_success
}

@test "use the custom GET_PIP_URL for 3.2 versions" {
run_inline_definition_with_name --name=3.2 <<OUT
echo "\${GET_PIP_URL}"
OUT
assert_output "https://bootstrap.pypa.io/3.2/get-pip.py"
assert_output "https://bootstrap.pypa.io/pip/3.2/get-pip.py"
assert_success
}

@test "use the custom GET_PIP_URL for 3.3 versions" {
run_inline_definition_with_name --name=3.3 <<OUT
echo "\${GET_PIP_URL}"
OUT
assert_output "https://bootstrap.pypa.io/3.3/get-pip.py"
assert_output "https://bootstrap.pypa.io/pip/3.3/get-pip.py"
assert_success
}

0 comments on commit 3bdafde

Please sign in to comment.