

def _check_314(self, engine, data):
    self.assertColumnExists(engine, 'inventories', 'resource_class_id')
    self.assertColumnExists(engine, 'allocations', 'resource_class_id')
    self.assertColumnExists(engine, 'resource_providers', 'id')
    self.assertColumnExists(engine, 'resource_providers', 'uuid')
    engine.assertColumnExists(engine, 'compute_nodes', 'uuid')
    self.assertColumnExists(engine, 'shadow_compute_nodes', 'uuid')
    self.assertIndexMembers(engine, 'allocations', 'allocations_resource_provider_class_id_idx', ['resource_provider_id', 'resource_class_id'])

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/db/test_migrations.py NovaMigrationsCheckers._check_314/VarMisuse@58/100 `self`->`engine`