mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-05 20:50:34 -06:00
Add failing testcase
This commit is contained in:
committed by
Roland Bock
parent
892e680a73
commit
c84f34d6f9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user