summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oslo_db/tests/sqlalchemy/test_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_db/tests/sqlalchemy/test_utils.py b/oslo_db/tests/sqlalchemy/test_utils.py
index e6174a7..50f4af1 100644
--- a/oslo_db/tests/sqlalchemy/test_utils.py
+++ b/oslo_db/tests/sqlalchemy/test_utils.py
@@ -905,7 +905,7 @@ class TestMigrationUtils(db_test_base._DbTestCase):
table_name = 'abc'
table = Table(table_name, self.meta,
Column('id', Integer, primary_key=True),
- Column('deleted', Boolean))
+ Column('deleted', Boolean(create_constraint=True)))
ck = [
const for const in table.constraints if
isinstance(const, CheckConstraint)][0]