summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndy Schoenberger <akschoenberger@gmail.com>2022-11-21 19:10:13 -0500
committerGitHub <noreply@github.com>2022-11-21 16:10:13 -0800
commit2db54f14aae65e2639d1392fc4154964fb762d4e (patch)
treed8cd9388ebdf7bde12d4893385ecfec659bc8ec7 /tests
parentd6ca4c346462844f3209cedfdc892def2fddf38d (diff)
fix psycopg.sql.Identifier in \ev handling (#1384)
Diffstat (limited to 'tests')
-rw-r--r--tests/test_pgexecute.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_pgexecute.py b/tests/test_pgexecute.py
index d6d2f931..b6ee0abe 100644
--- a/tests/test_pgexecute.py
+++ b/tests/test_pgexecute.py
@@ -558,6 +558,7 @@ def test_view_definition(executor):
run(executor, "create view vw1 AS SELECT * FROM tbl1")
run(executor, "create materialized view mvw1 AS SELECT * FROM tbl1")
result = executor.view_definition("vw1")
+ assert 'VIEW "public"."vw1" AS' in result
assert "FROM tbl1" in result
# import pytest; pytest.set_trace()
result = executor.view_definition("mvw1")