

def _check_230(self, engine, data):
    for table_name in ['instance_actions_events', 'shadow_instance_actions_events']:
        self.assertColumnExists(engine, table_name, 'host')
        self.assertColumnExists(engine, table_name, 'details')
    action_events = oslodbutils.get_table(engine, 'instance_actions_events')
    self.assertIsInstance(action_events.c.host.type, sqlalchemy.types.String)
    self.assertIsInstance(action_events.c.details.type, sqlalchemy.types.Text)

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