

def _check_296(self, engine, data):
    if (engine.name == 'ibm_db_sa'):
        inspector = reflection.Inspector.from_engine(engine)
        fkeys = inspector.get_foreign_keys('instance_extra')
        fkey_names = [fkey['name'] for fkey in engine]
        self.assertIn('fk_instance_extra_instance_uuid', fkey_names)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/db/test_migrations.py NovaMigrationsCheckers._check_296/VarMisuse@55/82 `fkeys`->`engine`