mirror of https://github.com/django/django.git
[3.1.x] Fixed backends.postgresql.tests.Tests.test_nodb_cursor_raises_postgres_authentication_failure().
Follow up to 9efe832ee1
.
This commit is contained in:
parent
5dec57a6fc
commit
efaf9f4ac9
|
@ -89,7 +89,7 @@ class Tests(TestCase):
|
||||||
)
|
)
|
||||||
with self.assertWarnsMessage(RuntimeWarning, msg):
|
with self.assertWarnsMessage(RuntimeWarning, msg):
|
||||||
mocker_connections_all = mock.patch(
|
mocker_connections_all = mock.patch(
|
||||||
'django.utils.connection.BaseConnectionHandler.all',
|
'django.db.utils.ConnectionHandler.all',
|
||||||
side_effect=mocked_all,
|
side_effect=mocked_all,
|
||||||
autospec=True,
|
autospec=True,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue