summaryrefslogtreecommitdiffstats
path: root/tests/test_pgexecute.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_pgexecute.py')
-rw-r--r--tests/test_pgexecute.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_pgexecute.py b/tests/test_pgexecute.py
index 8501837f..f49cb6bc 100644
--- a/tests/test_pgexecute.py
+++ b/tests/test_pgexecute.py
@@ -441,7 +441,8 @@ class BrokenConnection(object):
def test_exit_without_active_connection(executor):
quit_handler = MagicMock()
pgspecial = PGSpecial()
- pgspecial.register(quit_handler, '\\q', '\\q', 'Quit pgcli.', arg_type=NO_QUERY, case_sensitive=True, aliases=(':q',))
+ pgspecial.register(quit_handler, '\\q', '\\q', 'Quit pgcli.',
+ arg_type=NO_QUERY, case_sensitive=True, aliases=(':q',))
with patch.object(executor, "conn", BrokenConnection()):
# we should be able to quit the app, even without active connection