mirror of
https://github.com/django/django.git
synced 2025-10-25 14:46:09 +00:00
Refs #32292 -- Made dbshell do not use 'postgres' database when service name is set.
Regression in dcb3ad3319.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user