Skip to content

Add more tests and fix event_to_value

Filipe Laíns requested to merge FFY00/python-libevdev:missing-tests into master

While I was adding more tests I noticed that my event_to_value implementation was wrong. I added a test for it as well has its friends.

It seems like the test coverage is pretty good, at least for the current infrastructure. To get better tests we would need to use hid-tools, that way we can control the devices. It would also be a good improvement to switch to pytest.

Merge request reports

Loading