mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-12 00:23:13 -04:00
dev-python/pytest-subtests: fix tests if pakcage ...
is not already installed Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
@@ -32,3 +32,10 @@ python_prepare_all() {
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# tests fail if package is not installed
|
||||
# workaround is to add source to PYTHONPATH
|
||||
PYTHONPATH="${S}"
|
||||
pytest -vv || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user