Add failing testcase

This commit is contained in:
Leonhard Kipp
2022-06-13 20:02:55 +02:00
committed by Roland Bock
parent 892e680a73
commit c84f34d6f9

View File

@@ -364,6 +364,7 @@ def testConstraint():
for text in [
"CONSTRAINT unique_person UNIQUE (first_name, last_name)",
"UNIQUE (id)",
"UNIQUE (first_name,last_name)"
]:
result = ddlConstraint.parseString(text, parseAll=True)
assert result.isConstraint