[packages/python3-poetry-core] Correct mock module (tests pass now)

arekm arekm at pld-linux.org
Sat Feb 8 22:08:50 CET 2025


commit 35db4b84e8c5feca64f7f9c31470d71d35a2b652
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Feb 8 22:03:49 2025 +0100

    Correct mock module (tests pass now)

 python3-poetry-core.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/python3-poetry-core.spec b/python3-poetry-core.spec
index 646c8e5..5da9c46 100644
--- a/python3-poetry-core.spec
+++ b/python3-poetry-core.spec
@@ -39,7 +39,7 @@ build Poetry-managed projects.
 %{__python3} -m zipfile -e build-3/*.whl build-3-test
 # use explicit plugins list for reliable builds (delete PYTEST_PLUGINS if empty)
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTEST_PLUGINS=mocker \
+PYTEST_PLUGINS=pytest_mock \
 %{__python3} -m pytest -o pythonpath="$PWD/build-3-test" tests
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-poetry-core.git/commitdiff/35db4b84e8c5feca64f7f9c31470d71d35a2b652



More information about the pld-cvs-commit mailing list