python3-pytest-httpserver: fix tests
This commit is contained in:
parent
9dd813215c
commit
e2713270ec
|
@ -3,7 +3,7 @@ pkgname=python3-pytest-httpserver
|
|||
version=1.0.5
|
||||
revision=2
|
||||
build_style=python3-pep517
|
||||
hostmakedepends="python3-poetry-core"
|
||||
hostmakedepends="python3-poetry-core python3-pip"
|
||||
depends="python3-pytest python3-Werkzeug"
|
||||
checkdepends="${depends} python3-MarkupSafe python3-requests"
|
||||
short_desc="HTTP server for pytest"
|
||||
|
@ -15,7 +15,7 @@ distfiles="https://github.com/csernazs/pytest-httpserver/archive/refs/tags/${ver
|
|||
checksum=932843df9fa584e6a664b2e7a21dec4ddf9507c235a78853f21e00b111352395
|
||||
|
||||
do_check() {
|
||||
python3 -m pip install --no-deps --target test pytest_httpserver-${version}-*-*-*.whl
|
||||
python3 -m pip install --no-deps --target test dist/pytest_httpserver-${version}-py3-none-any.whl
|
||||
PYTHONPATH=test python3 -m pytest tests
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue