ddl2cpp: Add tests for the column isPrimaryKey property.

This commit is contained in:
MeanSquaredError
2024-06-12 03:36:53 +03:00
committed by Roland Bock
parent ffd6618e58
commit f6cb4d311a

View File

@@ -386,6 +386,7 @@ def testColumn():
assert column.isUnsigned
assert column.notNull
assert not column.hasAutoValue
assert not column.isPrimaryKey
def testConstraint():
@@ -445,6 +446,7 @@ def testPrimaryKeyAutoIncrement():
assert column.type == "integer"
assert column.notNull
assert column.hasAutoValue
assert column.isPrimaryKey
def testParser():
initDllParser()