Merge "tests: Add missing args to sqlalchemy.Table"

This commit is contained in:
Zuul
2023-06-07 16:54:24 +00:00
committed by Gerrit Code Review

View File

@@ -353,7 +353,7 @@ class TestBannedDBSchemaOperations(testtools.TestCase):
column.alter)
def test_table(self):
table = sa.Table()
table = sa.Table("foo", sa.MetaData())
with fixtures.BannedDBSchemaOperations(['Table']):
self.assertRaises(exception.DBNotAllowed,
table.drop)