tests: Introduce tests with pytest

Relates #1097
This commit is contained in:
Matthias Hagmann 2024-02-10 14:23:35 +01:00 committed by Peter F. Patel-Schneider
parent 87658fb189
commit 3eebd4b4b0
3 changed files with 3 additions and 0 deletions

View File

@ -87,6 +87,7 @@ For instructions on installing Solaar see https://pwr-solaar.github.io/Solaar/in
'report-descriptor': ['hid-parser'],
'desktop-notifications': ['Notify (>= 0.7)'],
'git-commit': ['python-git-info'],
'test': ['pytest'],
},
package_dir={'': 'lib'},
packages=['keysyms', 'hidapi', 'logitech_receiver', 'solaar', 'solaar.ui', 'solaar.cli'],

0
tests/__init__.py Normal file
View File

2
tests/test_solaar.py Normal file
View File

@ -0,0 +1,2 @@
def test_example():
assert True