From 6e742dabc95b00ba896434293556adeb4dbaee8a Mon Sep 17 00:00:00 2001 From: Konstantin Alekseev Date: Mon, 26 Apr 2021 15:19:13 +0300 Subject: Fixed #32687 -- Restored passing process’ environment to underlying tool in dbshell on PostgreSQL. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Regression in bbe6fbb8768e8fb1aecb96d51c049d7ceaf802d3. --- tests/dbshell/test_postgresql.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/dbshell/test_postgresql.py') diff --git a/tests/dbshell/test_postgresql.py b/tests/dbshell/test_postgresql.py index a96acac6f1..6aaf6c8f77 100644 --- a/tests/dbshell/test_postgresql.py +++ b/tests/dbshell/test_postgresql.py @@ -39,7 +39,7 @@ class PostgreSqlDbshellCommandTestCase(SimpleTestCase): 'PORT': '444', }), ( ['psql', '-U', 'someuser', '-h', 'somehost', '-p', '444', 'dbname'], - {}, + None, ) ) @@ -134,7 +134,7 @@ class PostgreSqlDbshellCommandTestCase(SimpleTestCase): def test_parameters(self): self.assertEqual( self.settings_to_cmd_args_env({'NAME': 'dbname'}, ['--help']), - (['psql', 'dbname', '--help'], {}), + (['psql', 'dbname', '--help'], None), ) @skipUnless(connection.vendor == 'postgresql', 'Requires a PostgreSQL connection') -- cgit v1.3