From 8769d6738e1f64f80b27271f70f6671222acd1b1 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Sun, 6 Oct 2024 18:38:58 +0200 Subject: [PATCH] fix(cas-eleves): Remove dependency on pytest-runner --- machines/web02/cas-eleves/01-pytest-cas.patch | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/machines/web02/cas-eleves/01-pytest-cas.patch b/machines/web02/cas-eleves/01-pytest-cas.patch index caf18ad..633a567 100644 --- a/machines/web02/cas-eleves/01-pytest-cas.patch +++ b/machines/web02/cas-eleves/01-pytest-cas.patch @@ -1,4 +1,14 @@ -diff --git a/cas_server/tests/test_federate.py b/cas_server/tests/test_federate.py +diff --git a/setup.py b/setup.py +index 7c7b02d..3f677ff 100644 +--- a/setup.py ++++ b/setup.py +@@ -67,6 +67,4 @@ if __name__ == '__main__': + url="https://github.com/nitmir/django-cas-server", + download_url="https://github.com/nitmir/django-cas-server/releases/latest", + zip_safe=False, +- setup_requires=['pytest-runner'], +- tests_require=['pytest', 'pytest-django', 'pytest-pythonpath', 'pytest-warnings', 'mock>=1'], + ) index 2b389d3..dcdfafd 100644 --- a/cas_server/tests/test_federate.py +++ b/cas_server/tests/test_federate.py