summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIrina Truong <i.chernyavska@gmail.com>2019-03-18 03:06:59 +0000
committerIrina Truong <i.chernyavska@gmail.com>2019-03-18 03:10:52 +0000
commita8739c8c1566347d5455f8b703c76ec17aaf5ddf (patch)
tree1a8035f4040f4e0fe1a4e83fe9b8b51cc4f57692
parent9d559cc41b979d92aa10cf4c6cb49f3a1f00a06f (diff)
pep8.
-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