mirror of
https://github.com/django/django.git
synced 2025-11-24 04:47:12 +00:00
Simplified using DATABASES["OPTIONS"].
DATABASES["OPTIONS"] are always configured.
This commit is contained in:
parent
b9d539cca7
commit
50e95ad536
3 changed files with 6 additions and 8 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue