summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAmjith Ramanujam <amjith.r@gmail.com>2019-05-06 09:12:42 -0700
committerAmjith Ramanujam <amjith.r@gmail.com>2019-05-06 09:12:42 -0700
commit8b140291802849de924edc3377daa182d81008a5 (patch)
treeaee0ac562b19d35b341e43ab93a6de7f7c914439 /tests
parent1908142adb80f324d6c795e76e38f7939948d7f1 (diff)
Fix the tests.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_main.py b/tests/test_main.py
index 2b5edb7a..e8e801d5 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')