commit: da455f72ea2399dd5bebea2c3f3faec0173a0ff4
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 16 17:45:30 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jun 16 18:57:00 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da455f72
dev-python/uvicorn: Skip tests requiring python-dotenv in 0.14.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/uvicorn/uvicorn-0.14.0.ebuild | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/dev-python/uvicorn/uvicorn-0.14.0.ebuild
b/dev-python/uvicorn/uvicorn-0.14.0.ebuild
index f6347568597..3b12bff47fd 100644
--- a/dev-python/uvicorn/uvicorn-0.14.0.ebuild
+++ b/dev-python/uvicorn/uvicorn-0.14.0.ebuild
@@ -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 }
+}