Open hannescam opened 1 year ago
i removed the whitespace
I tried that, but some things are off that arent possible to set from the parameters that are documented and i will try to implement the tests
i implemented some tests based on the st7567 tests but i cant test it because my raspberry pi broke
i implemented some tests based on the st7567 tests but i cant test it because my raspberry pi broke
The tests don't require raspberry pi hardware. This is also the reason they can be run in a github actions type of environment.
i didnt know that but how can i test if they are working and how do they work (i couldnt find any documentation) because when i run them no matter which i got no output
i didnt know that but how can i test if they are working and how do they work (i couldnt find any documentation) because when i run them no matter which i got no output
You can run the tests by installing tox:
pip install tox
Go to the repository root, and run the tests using tox:
cd luma.lcd
tox -e py310
If you want to test against a different version of python, use one of py37
, py38
, py39
, py310
or py311
instead.
This will download the dependencies and run the tests on your machine. Running the tests works out of the box on linux or mac but not sure about windows.
i have done pretty moch evreything in the list ecxept tests wich i do not know how they work (i just use luma.examples)