mirror of
https://github.com/xtacocorex/CHIP_IO
synced 2025-07-20 04:43:21 +00:00
updates to the pytest tests to fix the issues with pwm, added 2 new tests that bring in 5 total unit tests. python3 unit tests are passing, this will close #42 and close #47
This commit is contained in:
11
README.rst
11
README.rst
@ -438,11 +438,12 @@ Install py.test to run the tests. You'll also need the python compiler package f
|
||||
To run the tests, do the following.::
|
||||
|
||||
# If only one version of Python is installed
|
||||
sudo py.test
|
||||
# If more than one version of Python
|
||||
cd test
|
||||
sudo python2 -m pytest
|
||||
sudo python3 -m pytest
|
||||
# Python 2
|
||||
sudo make pytest2
|
||||
# Python 3
|
||||
sudo make pytest3
|
||||
# If more than one version of Python, run through both
|
||||
sudo make test
|
||||
|
||||
**Credits**
|
||||
|
||||
|
Reference in New Issue
Block a user