Commit Graph

21 Commits

Author SHA1 Message Date
Peter F. Patel-Schneider 5081e68b46 Revert "tests: fully cover hidpp10"
This reverts commit 8de3866696.
2024-03-16 16:21:53 -04:00
Peter F. Patel-Schneider 5d3935bd8d Revert "tests: improve hidpp20 coverage"
This reverts commit 6164317a64.
2024-03-16 16:21:53 -04:00
Peter F. Patel-Schneider 99533cd5c5 Revert "tests: use 3.7 type hint"
This reverts commit e0047024a5.
2024-03-16 16:21:53 -04:00
Peter F. Patel-Schneider e0047024a5 tests: use 3.7 type hint 2024-03-16 16:20:39 -04:00
Peter F. Patel-Schneider 6164317a64 tests: improve hidpp20 coverage 2024-03-16 16:20:39 -04:00
Peter F. Patel-Schneider 8de3866696 tests: fully cover hidpp10 2024-03-16 16:20:39 -04:00
Peter F. Patel-Schneider d76eed85f6 device: fix bug in setting configuration cookie due to bad documentation 2024-03-14 17:06:17 -04:00
Peter F. Patel-Schneider d5bdf2b0f5 tests: complete testing of common 2024-03-13 16:08:16 -04:00
Peter F. Patel-Schneider 54ee78ee25 tests: start coverage of complex structures in hidpp20 2024-03-13 16:08:16 -04:00
Peter F. Patel-Schneider 4632c46e30 tests: expand coverage of hidpp20 2024-03-13 16:08:16 -04:00
Peter F. Patel-Schneider 03a5ca3d49 tests: expand coverage of common 2024-03-13 16:08:16 -04:00
Matthias Hagmann 5b09ace1f5 ruff: Apply single line import format
# Usage
pre-commit run --all-files

Related #2295
2024-03-13 15:41:21 -04:00
MattHag 0d225f6cb1
test: Test base product information
* test: Test base product information

Related #1097

* Fix dependencies for gi
2024-03-10 10:11:02 -04:00
Matthias Hagmann 7ec3eddccc test: Extract get_kind_from_index function and test it
Pull get_kind_from_index from class to module level and add tests.

Related #1097
2024-03-10 09:20:39 -04:00
Peter F. Patel-Schneider 15ed26887b tests: tests for a few simple hidpp20 functions 2024-03-05 15:27:07 -05:00
Peter F. Patel-Schneider a2bf51386a tests: add yaml test for led setting 2024-03-05 15:27:07 -05:00
Peter F. Patel-Schneider c3e988a03a tests: simple tests for hidpp20 profiles and lighting 2024-03-05 15:27:07 -05:00
Matthias Hagmann a29f2b8614 tests: Add hidpp10 tests
Related #1097
2024-03-02 10:56:41 -05:00
Matthias Hagmann 7774569971 Apply ruff format
Run ruff auto formatting using:
ruff format .

Related #2295
2024-02-20 15:41:10 -05:00
MattHag 008d3df50b
tests: Add tests of common module
Introduces unit tests for Solaar.

Related #1097
2024-02-18 06:10:53 -05:00
Matthias Hagmann 3eebd4b4b0 tests: Introduce tests with pytest
Relates #1097
2024-02-10 13:58:20 -05:00