diff options
Diffstat (limited to 'tests/test_mysql.py')
-rw-r--r-- | tests/test_mysql.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_mysql.py b/tests/test_mysql.py index fd3b185..c3ac966 100644 --- a/tests/test_mysql.py +++ b/tests/test_mysql.py @@ -399,6 +399,12 @@ class MySQLOpTest(TestBase): op.drop_constraint("f1", "t1", type_="foreignkey") context.assert_("ALTER TABLE t1 DROP FOREIGN KEY f1") + def test_drop_fk_legacy(self): + """#1245""" + context = op_fixture("mysql") + op.drop_constraint("f1", "t1", "foreignkey") + context.assert_("ALTER TABLE t1 DROP FOREIGN KEY f1") + def test_drop_fk_quoted(self): context = op_fixture("mysql") op.drop_constraint("MyFk", "MyTable", type_="foreignkey") |