'Verifies that HardwareProperties attributes are being set
from image properties.'

def test_hardware_properties_from_meta(self):

    with mock.patch.object(osinfo._OsInfoDatabase, 'get_instance'):
        osinfo_obj = osinfo.HardwareProperties(self.img_meta)
        self.assertEqual('rtl8139', osinfo_obj.network_model)
        self.assertEqual('ide', osinfo_obj.disk_model)
