summaryrefslogtreecommitdiff
path: root/tests/dbshell
diff options
context:
space:
mode:
authorJarrett Keifer <jkeifer@users.noreply.github.com>2022-07-17 21:30:20 -0700
committerGitHub <noreply@github.com>2022-07-18 06:30:20 +0200
commit3e3e8141662c70d74d3aaef9d4b053c9636ea0d7 (patch)
treee937b83961cb1a40f240f009c6b30f6615b536ea /tests/dbshell
parentb4817d20b9e55df30be0b1b2ca8c8bb6d61aab07 (diff)
downloaddjango-3e3e8141662c70d74d3aaef9d4b053c9636ea0d7.tar.gz
Fixed #33854 -- Corrected the order of parameters in dbshell on PostgreSQL.
Diffstat (limited to 'tests/dbshell')
-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 02924d0bcc..53dedaca01 100644
--- a/tests/dbshell/test_postgresql.py
+++ b/tests/dbshell/test_postgresql.py
@@ -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")