summaryrefslogtreecommitdiff
path: root/tests/test_batch.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_batch.py')
-rw-r--r--tests/test_batch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_batch.py b/tests/test_batch.py
index c88ec53..dbcd9b5 100644
--- a/tests/test_batch.py
+++ b/tests/test_batch.py
@@ -188,7 +188,7 @@ class BatchApplyTest(TestBase):
"tname",
m,
Column("id", Integer, primary_key=True),
- Column("flag", Boolean),
+ Column("flag", Boolean(create_constraint=True)),
)
return ApplyBatchImpl(self.impl, t, table_args, table_kwargs, False)
@@ -208,7 +208,7 @@ class BatchApplyTest(TestBase):
"tname",
m,
Column("id", Integer, primary_key=True),
- Column("thing", Enum("a", "b", "c")),
+ Column("thing", Enum("a", "b", "c", create_constraint=True)),
)
return ApplyBatchImpl(self.impl, t, table_args, table_kwargs, False)