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