mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Add '--no-psqlrc' option to new-to-carbon postgres unit test
This commit is contained in:
parent
af044fd889
commit
2e34277b65
@ -158,7 +158,7 @@ class PostgresTestCase(TestCase):
|
||||
maintenance_db='maint_db', password='foo')
|
||||
|
||||
postgres._run_psql.assert_called_once_with(
|
||||
['/usr/bin/pgsql', '--no-align', '--no-readline',
|
||||
['/usr/bin/pgsql', '--no-align', '--no-readline', '--no-psqlrc',
|
||||
'--no-password', '--username', 'testuser', '--host',
|
||||
'testhost', '--port', '1234', '--dbname', 'maint_db', '-c',
|
||||
'CREATE DATABASE "dbname" WITH ENCODING = \'utf8\' '
|
||||
|
Loading…
Reference in New Issue
Block a user