summaryrefslogtreecommitdiff
path: root/tests/dbshell/test_postgresql.py
diff options
context:
space:
mode:
authorFlorian Apolloner <florian@apolloner.eu>2024-02-23 07:44:55 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2024-02-23 07:49:43 +0100
commit50e95ad5367a4a93f94a66a645f9c126f0609f0a (patch)
treee18cf55dc09ff36f0207955104cd4c7d9e27ee90 /tests/dbshell/test_postgresql.py
parentb9d539cca79d8100b24b30fabdb21d10154634ec (diff)
Simplified using DATABASES["OPTIONS"].
DATABASES["OPTIONS"] are always configured.
Diffstat (limited to 'tests/dbshell/test_postgresql.py')
-rw-r--r--tests/dbshell/test_postgresql.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/dbshell/test_postgresql.py b/tests/dbshell/test_postgresql.py
index 53dedaca01..79e2780d56 100644
--- a/tests/dbshell/test_postgresql.py
+++ b/tests/dbshell/test_postgresql.py
@@ -14,6 +14,7 @@ class PostgreSqlDbshellCommandTestCase(SimpleTestCase):
def settings_to_cmd_args_env(self, settings_dict, parameters=None):
if parameters is None:
parameters = []
+ settings_dict.setdefault("OPTIONS", {})
return DatabaseClient.settings_to_cmd_args_env(settings_dict, parameters)
def test_basic(self):