diff --git a/integration_tests/tests/pypi.bats b/integration_tests/tests/pypi.bats index 1b9283e..9435c5a 100644 --- a/integration_tests/tests/pypi.bats +++ b/integration_tests/tests/pypi.bats @@ -3,3 +3,12 @@ . ./venv/bin/activate pip install numpy } + +@test "Install mkdocs" { + bats_require_minimum_version 1.5.0 + python3 -m venv ./venv + . ./venv/bin/activate + run ! pip install mkdocs + [ "$status" -eq 1 ] + [[ "$output" == *"HTTP error 403"* ]] +}