revsys / django-health-check

a pluggable app that runs a full check on the deployment, using a number of plugins to check e.g. database, queue server, celery processes, etc.

Home Page:https://readthedocs.org/projects/django-health-check/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

use unittest.mock instead of mock

pgajdos opened this issue · comments

Could you please consider to use built-in unittest.mock, as a fallback at least?

Background:
https://trello.com/b/WsskhdXA/opensuse-python
https://fedoraproject.org/wiki/Changes/DeprecatePythonMock

Hi @pgajdos,

Thanks for reaching out. I did just address all open deprecation warnings I could find in the latest release. This does include no longer using the mock page.

Cheers,
Joe