diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-02-05 06:08:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-05 06:08:08 +0100 |
| commit | efaf9f4ac9cb281a73843a86123c4acd9ed11518 (patch) | |
| tree | 9408eafbfbb36a9840667a79df82c7e140fa6a33 | |
| parent | 5dec57a6fc5a41bdfe1e881bfd364d7ae1c67b5e (diff) | |
[3.1.x] Fixed backends.postgresql.tests.Tests.test_nodb_cursor_raises_postgres_authentication_failure().
Follow up to 9efe832ee1e5da326e4ee5ed370db963b8fe6624.
| -rw-r--r-- | tests/backends/postgresql/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/backends/postgresql/tests.py b/tests/backends/postgresql/tests.py index c37b83bb90..aaac2eb135 100644 --- a/tests/backends/postgresql/tests.py +++ b/tests/backends/postgresql/tests.py @@ -89,7 +89,7 @@ class Tests(TestCase): ) with self.assertWarnsMessage(RuntimeWarning, msg): mocker_connections_all = mock.patch( - 'django.utils.connection.BaseConnectionHandler.all', + 'django.db.utils.ConnectionHandler.all', side_effect=mocked_all, autospec=True, ) |
