summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRishi Ramraj <thereisnocowlevel@gmail.com>2018-05-14 23:31:47 -0400
committerRishi Ramraj <thereisnocowlevel@gmail.com>2018-05-14 23:31:47 -0400
commit3869a723652b5bb49048b6bff7903b615aea7e82 (patch)
tree7b285696be88ffc89f42e0c5de2a81e8534fde13
parent56f134ea0786248056aeba21f02d4d0a63934854 (diff)
Fix test_pgexecute.py::test_describe_special
-rw-r--r--tests/test_pgexecute.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_pgexecute.py b/tests/test_pgexecute.py
index 3141dc0e..ffcf3662 100644
--- a/tests/test_pgexecute.py
+++ b/tests/test_pgexecute.py
@@ -287,11 +287,11 @@ def test_large_numbers_render_directly(executor, value):
@pytest.mark.parametrize('command', ['di', 'dv', 'ds', 'df', 'dT'])
@pytest.mark.parametrize('verbose', ['', '+'])
@pytest.mark.parametrize('pattern', ['', 'x', '*.*', 'x.y', 'x.*', '*.y'])
-def test_describe_special(executor, command, verbose, pattern):
+def test_describe_special(executor, command, verbose, pattern, pgspecial):
# We don't have any tests for the output of any of the special commands,
# but we can at least make sure they run without error
sql = r'\{command}{verbose} {pattern}'.format(**locals())
- executor.run(sql)
+ list(executor.run(sql, pgspecial=pgspecial))
@dbtest