From f8f1ced6195aa1dd6f9ba83719f460c84b455d64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filipe=20La=C3=ADns?= <lains@archlinux.org> Date: Tue, 10 Mar 2020 12:31:22 +0000 Subject: [PATCH] tests: add test for EvdevBit.__lt__ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Filipe LaÃns <lains@archlinux.org> --- test/test_const.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test_const.py b/test/test_const.py index 2b50aee..44c0390 100644 --- a/test/test_const.py +++ b/test/test_const.py @@ -111,3 +111,6 @@ class TestEventBits(unittest.TestCase): def test_repr(self): self.assertEqual(str(libevdev.EV_REL), 'EV_REL:2') + + def test_less_than(self): + self.assertTrue(libevdev.EV_REL < libevdev.EV_ABS) -- GitLab