Add '--no-psqlrc' option to new-to-carbon postgres unit test

This commit is contained in:
rallytime 2016-10-07 16:10:57 -06:00
parent af044fd889
commit 2e34277b65

View File

@ -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\' '