

def test_get_attributes_exception_handled(self):
    info = InstallationInfo()
    variants = [None, {
        
    }, {
        'common': None,
    }, {
        'common': {
            'libvirt_type': {
                
            },
        },
    }, {
        'common': {
            'libvirt_type': 3,
        },
    }]
    for attrs in variants:
        result = info.get_attributes(attrs, info.attributes_white_list)
        self.assertDictEqual({
            
        }, result)

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