File: tests.py

package info (click to toggle)
python-hidapi 0.14.0.post4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,184 kB
  • sloc: ansic: 5,417; python: 263; makefile: 7
file content (12 lines) | stat: -rw-r--r-- 195 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
import unittest

import hid


class HIDTests(unittest.TestCase):
    def test_enumerate(self):
        self.assertTrue(len(hid.enumerate()) >= 0)


if __name__ == "__main__":
    unittest.main()