diff options
Diffstat (limited to 'dev-python/python-dotenv')
| -rw-r--r-- | dev-python/python-dotenv/python-dotenv-1.1.0.ebuild | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-python/python-dotenv/python-dotenv-1.1.0.ebuild b/dev-python/python-dotenv/python-dotenv-1.1.0.ebuild index c1bbc5a2d52f..561889472c2d 100644 --- a/dev-python/python-dotenv/python-dotenv-1.1.0.ebuild +++ b/dev-python/python-dotenv/python-dotenv-1.1.0.ebuild @@ -29,6 +29,20 @@ DOCS=( CHANGELOG.md README.md ) distutils_enable_tests pytest +python_test() { + local EPYTEST_DESELECT=( + # test issue with click-8.2.0 + # https://github.com/theskumar/python-dotenv/issues/560 + tests/test_cli.py::test_get_non_existent_file + tests/test_cli.py::test_get_not_a_file + tests/test_cli.py::test_list_non_existent_file + tests/test_cli.py::test_list_not_a_file + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + python_install() { distutils-r1_python_install ln -s dotenv "${D}$(python_get_scriptdir)"/python-dotenv || die |
