Skip to content
Snippets Groups Projects
Verified Commit f8f1ced6 authored by Filipe Laíns's avatar Filipe Laíns
Browse files

tests: add test for EvdevBit.__lt__

parent e751b2a7
No related branches found
No related tags found
1 merge request!14Add more tests and fix event_to_value
...@@ -111,3 +111,6 @@ class TestEventBits(unittest.TestCase): ...@@ -111,3 +111,6 @@ class TestEventBits(unittest.TestCase):
def test_repr(self): def test_repr(self):
self.assertEqual(str(libevdev.EV_REL), 'EV_REL:2') self.assertEqual(str(libevdev.EV_REL), 'EV_REL:2')
def test_less_than(self):
self.assertTrue(libevdev.EV_REL < libevdev.EV_ABS)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment