

def _check_266(self, engine, data):
    self.assertColumnExists(engine, 'tags', 'resource_id')
    self.assertColumnExists(engine, 'tags', 'tag')
    table = oslodbutils.get_table(engine, 'tags')
    self.assertIsInstance(table.c.resource_id.type, sqlalchemy.types.String)
    self.assertIsInstance(table.c.tag.type, sqlalchemy.types.String)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/db/test_migrations.py NovaMigrationsCheckers._check_266/original