mirror of
https://github.com/django/django.git
synced 2025-10-25 06:36:07 +00:00
Fixed #33854 -- Corrected the order of parameters in dbshell on PostgreSQL.
This commit is contained in:
@@ -154,7 +154,7 @@ class PostgreSqlDbshellCommandTestCase(SimpleTestCase):
|
||||
def test_parameters(self):
|
||||
self.assertEqual(
|
||||
self.settings_to_cmd_args_env({"NAME": "dbname"}, ["--help"]),
|
||||
(["psql", "dbname", "--help"], None),
|
||||
(["psql", "--help", "dbname"], None),
|
||||
)
|
||||
|
||||
@skipUnless(connection.vendor == "postgresql", "Requires a PostgreSQL connection")
|
||||
|
||||
Reference in New Issue
Block a user