lundi 27 juillet 2015

Unit Test USB HID device?

I wrote a simple Python program to turn on a device. The device is wired through a USB HID device and then attached to my desktop. I want to unit test this program, but I'm not exactly sure how to go about it. Does anyone know how to mock a USB HID device? I've looked into pymox and some other programs but I'm still not sure how to go about it. Thanks.

Aucun commentaire:

Enregistrer un commentaire