

def _check_server_address(self, res_server_data, no_fip_expected=False):
    expected_addresses = self._get_expected_addresses(res_server_data, res_server_data)
    self.assertEqual(len(expected_addresses), len(res_server_data.addresses))
    for (net, addresses) in expected_addresses.items():
        self.assertIn(net, res_server_data.addresses)
        self.assertEqual(addresses, res_server_data.addresses[net])

dataset/ETHPy150Open CiscoSystems/avos/openstack_dashboard/test/api_tests/network_tests.py NetworkApiNeutronTests._check_server_address/VarMisuse@24/45 `no_fip_expected`->`res_server_data`