File: tests.py

package info (click to toggle)
python-hidapi 0.7.99.post21-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 304 kB
  • sloc: ansic: 3,069; python: 156; makefile: 7
file content (12 lines) | stat: -rw-r--r-- 195 bytes parent folder | download | duplicates (3)
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()