From 8b140291802849de924edc3377daa182d81008a5 Mon Sep 17 00:00:00 2001 From: Amjith Ramanujam Date: Mon, 6 May 2019 09:12:42 -0700 Subject: [PATCH] Fix the tests. --- tests/test_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_main.py b/tests/test_main.py index 2b5edb7aa..e8e801d57 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -317,5 +317,5 @@ def test_application_name_db_uri(tmpdir): mock_pgexecute.return_value = None cli = PGCli(pgclirc_file=str(tmpdir.join("rcfile"))) cli.connect_uri('postgres://bar@baz.com/?application_name=cow') - mock_pgexecute.assert_called_with('bar', 'bar', None, 'baz.com', '', '', + mock_pgexecute.assert_called_with('bar', 'bar', '', 'baz.com', '', '', application_name='cow')