diff --git a/nova/tests/unit/test_fixtures.py b/nova/tests/unit/test_fixtures.py index 9c2e539249e7..cad58f91ddcb 100644 --- a/nova/tests/unit/test_fixtures.py +++ b/nova/tests/unit/test_fixtures.py @@ -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)