3
from hwtest.device import DeviceManager
12
device_manager = DeviceManager()
13
computer = device_manager.get_device_by_udi("/org/freedesktop/Hal/devices/computer")
15
fingerprint = md5.new()
16
fingerprint.update(computer.properties["system.vendor"])
17
fingerprint.update(computer.properties["system.product"])
18
system_id = fingerprint.hexdigest()