

def test_get_attributes_ubuntu_uca(self):
    self.env.upload_fixtures(['openstack'])
    releases = ReleaseCollection.filter_by(None, operating_system=consts.RELEASE_OS.ubuntu).order_by(ReleaseCollection.single.model.id)
    release = releases[1]
    info = InstallationInfo()
    attr_key_list = [a[1] for a in info.attributes_white_list]
    expected_attributes = (set(attr_key_list) - set(('vlan_splinters', 'vlan_splinters_ovs', 'mellanox', 'mellanox_vf_num', 'iser')))
    self._do_test_attributes_in_white_list(release, expected_attributes)

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