pip install -U pytest pip install --upgrade --force-reinstall pyserial
-Connect Dolos to a Chromebook, connect the charger and eeprom to run all tests, or you can disconnect the eeprom to exclude the eeprom test.
-Move to tests folder then run the following command:
python run_tests.py
-If your Dolos baudrate value is not 115200 - which is the default in the script - then you need to change the baudrate value in the command line like this: (for example baudrate is 9600)
python run_tests.py --baudrate 9600
Verify all the tests are passed.
-To run all the tests in test_factory.py without the use of run_tests script, run the command:
pytest -s
-To run a specific test, you can specify the test name(for example test_pac)
pytest -sk test_pac