From 2e34277b65005a70ea6d9c4511018d645cd1c21f Mon Sep 17 00:00:00 2001 From: rallytime Date: Fri, 7 Oct 2016 16:10:57 -0600 Subject: [PATCH] Add '--no-psqlrc' option to new-to-carbon postgres unit test --- tests/unit/modules/postgres_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/modules/postgres_test.py b/tests/unit/modules/postgres_test.py index 527a682465..c5d562865c 100644 --- a/tests/unit/modules/postgres_test.py +++ b/tests/unit/modules/postgres_test.py @@ -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\' '