Skip to content

Commit

Permalink
Add test for blocked PyPI package
Browse files Browse the repository at this point in the history
  • Loading branch information
JimMadge committed Aug 9, 2024
1 parent bc5f50b commit 1d92fd3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions integration_tests/tests/pypi.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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"* ]]
}

0 comments on commit 1d92fd3

Please sign in to comment.