Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:python:backports
python-django-health-check
python-django-health-check-no-mock.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-django-health-check-no-mock.patch of Package python-django-health-check
diff -upr django-health-check-3.16.5.orig/tests/test_cache.py django-health-check-3.16.5/tests/test_cache.py --- django-health-check-3.16.5.orig/tests/test_cache.py 2022-05-09 12:08:42.992985237 +0200 +++ django-health-check-3.16.5/tests/test_cache.py 2022-05-09 12:08:43.004985311 +0200 @@ -1,6 +1,6 @@ from django.core.cache.backends.base import BaseCache, CacheKeyWarning from django.test import TestCase -from mock import patch +from unittest.mock import patch from health_check.cache.backends import CacheBackend diff -upr django-health-check-3.16.5.orig/tests/test_celery_ping.py django-health-check-3.16.5/tests/test_celery_ping.py --- django-health-check-3.16.5.orig/tests/test_celery_ping.py 2022-05-09 12:08:42.992985237 +0200 +++ django-health-check-3.16.5/tests/test_celery_ping.py 2022-05-09 12:08:43.004985311 +0200 @@ -1,7 +1,7 @@ import pytest from django.apps import apps from django.conf import settings -from mock import patch +from unittest.mock import patch from health_check.contrib.celery_ping.apps import HealthCheckConfig from health_check.contrib.celery_ping.backends import CeleryPingHealthCheck diff -upr django-health-check-3.16.5.orig/tests/test_db.py django-health-check-3.16.5/tests/test_db.py --- django-health-check-3.16.5.orig/tests/test_db.py 2022-05-09 12:08:42.992985237 +0200 +++ django-health-check-3.16.5/tests/test_db.py 2022-05-09 12:08:43.004985311 +0200 @@ -1,7 +1,7 @@ from django.db import DatabaseError, IntegrityError from django.db.models import Model from django.test import TestCase -from mock import patch +from unittest.mock import patch from health_check.db.backends import DatabaseBackend diff -upr django-health-check-3.16.5.orig/tests/test_migrations.py django-health-check-3.16.5/tests/test_migrations.py --- django-health-check-3.16.5.orig/tests/test_migrations.py 2022-05-09 12:08:42.992985237 +0200 +++ django-health-check-3.16.5/tests/test_migrations.py 2022-05-09 12:08:43.004985311 +0200 @@ -1,6 +1,6 @@ from django.db.migrations import Migration from django.test import TestCase -from mock import patch +from unittest.mock import patch from health_check.contrib.migrations.backends import MigrationsHealthCheck diff -upr django-health-check-3.16.5.orig/tests/test_rabbitmq.py django-health-check-3.16.5/tests/test_rabbitmq.py --- django-health-check-3.16.5.orig/tests/test_rabbitmq.py 2022-05-09 12:08:42.992985237 +0200 +++ django-health-check-3.16.5/tests/test_rabbitmq.py 2022-05-09 12:08:43.004985311 +0200 @@ -1,4 +1,4 @@ -import mock +from unittest import mock from amqp.exceptions import AccessRefused from health_check.contrib.rabbitmq.backends import RabbitMQHealthCheck diff -upr django-health-check-3.16.5.orig/tests/test_redis.py django-health-check-3.16.5/tests/test_redis.py --- django-health-check-3.16.5.orig/tests/test_redis.py 2022-05-09 12:08:42.992985237 +0200 +++ django-health-check-3.16.5/tests/test_redis.py 2022-05-09 12:08:43.004985311 +0200 @@ -1,4 +1,4 @@ -import mock +from unittest import mock from redis.exceptions import ConnectionError, TimeoutError from health_check.contrib.redis.backends import RedisHealthCheck diff -upr django-health-check-3.16.5.orig/tests/test_storage.py django-health-check-3.16.5/tests/test_storage.py --- django-health-check-3.16.5.orig/tests/test_storage.py 2022-05-09 12:08:42.992985237 +0200 +++ django-health-check-3.16.5/tests/test_storage.py 2022-05-09 12:08:43.004985311 +0200 @@ -1,4 +1,4 @@ -import mock +from unittest import mock from django.core.files.storage import Storage from django.test import TestCase
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor