summaryrefslogtreecommitdiff
path: root/tests/dbshell/test_postgresql.py
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-02-26 20:53:01 +0100
committerGitHub <noreply@github.com>2021-02-26 20:53:01 +0100
commit8908846444156eeae88be70332f96759cfce7740 (patch)
tree012f2ac54dc8b5bb8a424ff53f2f6c516dcd256a /tests/dbshell/test_postgresql.py
parent9d7e31cc74d0bb4b56c8cbc791fd8d968d426e51 (diff)
downloaddjango-8908846444156eeae88be70332f96759cfce7740.tar.gz
Refs #32292 -- Made dbshell do not use 'postgres' database when service name is set.
Regression in dcb3ad3319cad5c270a1856fd5f355e37cf9d474.
Diffstat (limited to 'tests/dbshell/test_postgresql.py')
-rw-r--r--tests/dbshell/test_postgresql.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dbshell/test_postgresql.py b/tests/dbshell/test_postgresql.py
index e9eb131db7..3345035a24 100644
--- a/tests/dbshell/test_postgresql.py
+++ b/tests/dbshell/test_postgresql.py
@@ -70,7 +70,7 @@ class PostgreSqlDbshellCommandTestCase(SimpleTestCase):
def test_service(self):
self.assertEqual(
self.settings_to_cmd_args_env({'OPTIONS': {'service': 'django_test'}}),
- (['psql', 'postgres'], {'PGSERVICE': 'django_test'}),
+ (['psql'], {'PGSERVICE': 'django_test'}),
)
def test_column(self):