Kevin Daudt e40574f31f community/py3-pytest-httpbin: skip broken test
A broken interaction between werkzeug and httpbin.

See: https://github.com/kevin1024/pytest-httpbin/issues/64
2022-04-14 20:28:34 +00:00

32 lines
976 B
Plaintext

# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-pytest-httpbin
pkgver=1.0.2
pkgrel=0
pkgdesc="Easily test your HTTP library against a local copy of httpbin"
url="https://github.com/kevin1024/pytest-httpbin"
arch="noarch"
license="MIT"
depends="py3-httpbin py3-six"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-requests"
source="https://files.pythonhosted.org/packages/source/p/pytest-httpbin/pytest-httpbin-$pkgver.tar.gz"
builddir="$srcdir/pytest-httpbin-$pkgver"
build() {
python3 setup.py build
}
check() {
# https://github.com/kevin1024/pytest-httpbin/issues/64
python3 -m pytest -k 'not test_redirect_location_is_https_for_secure_server'
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
d1982830766916b9aeae0e931862c7dc603fb98a89ff6e7e2735dfe25c81b6353af8a834dec13989312c53efe6fd829ea038eae84552099b86505289033f4efb pytest-httpbin-1.0.2.tar.gz
"