

def test_all_cluster_attributes_in_white_list(self):
    cluster = self.env.create(nodes_kwargs=[{
        'roles': ['compute'],
    }])
    self.env.create_node(status=consts.NODE_STATUSES.discover)
    expected_paths = self._find_leafs_paths(cluster.attributes.editable)
    actual_paths = [rule.path[:(- 1)] for rule in InstallationInfo.attributes_white_list]
    for path in expected_paths:
        self.assertIn(path, actual_paths)

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