Merge "tests: Add missing args to sqlalchemy.Table"
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user