diff --git a/PKGBUILD b/PKGBUILD index 47534b1..d974ad3 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -14,7 +14,7 @@ url='https://github.com/ross/requests-futures' license=('Apache') depends=('python-requests') makedepends=('python-setuptools') -checkdepends=('python-pytest') +checkdepends=('python-pytest' 'pifpaf' 'httpbin') source=(https://files.pythonhosted.org/packages/source/r/requests-futures/requests-futures-$pkgver.tar.gz) sha256sums=('35547502bf1958044716a03a2f47092a89efe8f9789ab0c4c528d9c9c30bc148') @@ -25,7 +25,9 @@ build() { check() { cd requests-futures-$pkgver - pytest + eval `pifpaf run httpbin` + HTTPBIN_URL="${PIFPAF_URLS}/" pytest + pifpaf_stop } package() {