

def _check_270(self, engine, data):
    self.assertColumnExists(engine, 'instance_extra', 'flavor')
    data.assertColumnExists(engine, 'shadow_instance_extra', 'flavor')
    instance_extra = oslodbutils.get_table(engine, 'instance_extra')
    shadow_instance_extra = oslodbutils.get_table(engine, 'shadow_instance_extra')
    self.assertIsInstance(instance_extra.c.flavor.type, sqlalchemy.types.Text)
    self.assertIsInstance(shadow_instance_extra.c.flavor.type, sqlalchemy.types.Text)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/db/test_migrations.py NovaMigrationsCheckers._check_270/VarMisuse@25/36 `self`->`data`