

def test_wite_list_unique_names(self):
    names = set((rule.map_to_name for rule in InstallationInfo.attributes_white_list))
    self.assertEqual(len(InstallationInfo.attributes_white_list), len(names))
    names = set((rule.map_to_name for rule in InstallationInfo.vmware_attributes_white_list))
    self.assertEqual(len(InstallationInfo.vmware_attributes_white_list), len(names))
    names = set((rule.map_to_name for rule in InstallationInfo.plugin_info_white_list))
    self.assertEqual(len(InstallationInfo.plugin_info_white_list), len(names))

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/unit/fuel_statistics_tests/test_installation_info.py TestInstallationInfo.test_wite_list_unique_names/original