Skip to content

Commit a4ca440

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "tests: Add missing args to sqlalchemy.Table"
2 parents c7b77aa + 9b47bcc commit a4ca440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nova/tests/unit/test_fixtures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def test_column(self):
353353
column.alter)
354354

355355
def test_table(self):
356-
table = sa.Table()
356+
table = sa.Table("foo", sa.MetaData())
357357
with fixtures.BannedDBSchemaOperations(['Table']):
358358
self.assertRaises(exception.DBNotAllowed,
359359
table.drop)

0 commit comments

Comments
 (0)