

def _check_278(self, engine, data):
    compute_nodes = oslodbutils.get_table(self, 'compute_nodes')
    self.assertEqual(0, len([fk for fk in compute_nodes.foreign_keys if (fk.parent.name == 'service_id')]))
    self.assertTrue(compute_nodes.c.service_id.nullable)

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