

def delete_network(self, network):
    self.show_network(network)
    self._check_ports_on_network(network)
    for subnet in network._fake_subnets.values():
        if (subnet['network_id'] == network):
            del self._fake_subnets[subnet['id']]
    del self._fake_networks[network]

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/api/openstack/compute/test_neutron_security_groups.py MockClient.delete_network/VarMisuse@29/36 `self`->`network`