From 8732776e925bbd6d2fd2d7a204cf2bc7033dd445 Mon Sep 17 00:00:00 2001 From: jinqiang zhang Date: Fri, 10 Oct 2025 19:57:58 -0700 Subject: [PATCH] dev-util/osc: enable pytest Signed-off-by: jinqiang zhang --- dev-util/osc/osc-1.21.0.ebuild | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dev-util/osc/osc-1.21.0.ebuild b/dev-util/osc/osc-1.21.0.ebuild index 93737fd1cf..f0e6c45d46 100644 --- a/dev-util/osc/osc-1.21.0.ebuild +++ b/dev-util/osc/osc-1.21.0.ebuild @@ -25,4 +25,16 @@ BDEPEND=" dev-python/argparse-manpage dev-python/cryptography dev-python/urllib3 + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) " + +EPYTEST_DESELECT=( + # AssertionError: Lists differ: ['/usr/lib/osc-plugins', '/usr/local/lib/o[53 chars]ins'] != [] + tests/test_doc_plugins.py::TestPopProjectPackageFromArgs::test_plugin_locations + # PermissionError: [Errno 13] Permission denied: '/var/lib/portage/home/.local' + tests/test_vc.py::TestVC::test_vc_export_env_api_call + tests/test_vc.py::TestVC::test_vc_export_env_conf_email + tests/test_vc.py::TestVC::test_vc_export_env_conf_realname +) + +distutils_enable_tests pytest