dev-python/uvicorn: Skip tests requiring python-dotenv in 0.14.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-06-16 19:45:30 +02:00
parent 57efa0596a
commit da455f72ea

View File

@@ -42,3 +42,12 @@ python_prepare_all() {
-i tests/supervisors/test_reload.py
distutils-r1_python_prepare_all
}
python_test() {
local deselect=(
# requires python-dotenv that's not keyworded everywhere yet
# see 0.14.0-r1
tests/test_config.py::test_env_file
)
epytest ${deselect[@]/#/--deselect }
}