summaryrefslogtreecommitdiff
path: root/tests/test_batch.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2020-06-03 14:08:12 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2020-06-03 14:08:12 -0400
commit69e65b6d4ec959548689484edf617fd81b4f384c (patch)
tree93fd533a4c4def77bfae86847573fc02cf6817cc /tests/test_batch.py
parent474088e9403fcfc444f114e3948aa77f6f262caf (diff)
downloadalembic-69e65b6d4ec959548689484edf617fd81b4f384c.tar.gz
Add an additional create_constraint
missing from Ic823124446607c2f245663350632382bd1ca10ba Change-Id: Ib9962f1440b6295a64997cf0d09c787fc2624279
Diffstat (limited to 'tests/test_batch.py')
-rw-r--r--tests/test_batch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_batch.py b/tests/test_batch.py
index dbcd9b5..d52e0b2 100644
--- a/tests/test_batch.py
+++ b/tests/test_batch.py
@@ -1611,7 +1611,7 @@ class BatchRoundTripTest(TestBase):
"bar",
self.metadata,
Column("id", Integer, primary_key=True),
- Column("flag", Boolean()),
+ Column("flag", Boolean(create_constraint=True)),
mysql_engine="InnoDB",
)
bar.create(self.conn)