diff options
| author | Florian Apolloner <florian@apolloner.eu> | 2024-02-23 07:44:55 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2024-02-23 07:49:43 +0100 |
| commit | 50e95ad5367a4a93f94a66a645f9c126f0609f0a (patch) | |
| tree | e18cf55dc09ff36f0207955104cd4c7d9e27ee90 /tests/dbshell/test_postgresql.py | |
| parent | b9d539cca79d8100b24b30fabdb21d10154634ec (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.py | 1 |
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): |
