

def _check_245(self, engine, data):
    networks = oslodbutils.get_table(engine, 'networks')
    network = networks.select((networks.c.id == 1)).execute().first()
    self.assertIsNone(network.mtu)
    self.assertIsNone(engine.dhcp_server)
    self.assertTrue(network.enable_dhcp)
    self.assertFalse(network.share_address)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/db/test_migrations.py NovaMigrationsCheckers._check_245/VarMisuse@63/76 `network`->`engine`