With a while true:, this will cause test to hang when py.test constructs the test fixture. Consider referencing DS3231/test for creating a test function/class and change to dev_*.py for development checks to run manually. This should have a test, but using the filename test_*.py, py.test will add this to the sources when it does an os walk.
With a
while true:
, this will cause test to hang when py.test constructs the test fixture. Consider referencingDS3231/test
for creating a test function/class and change todev_*.py
for development checks to run manually. This should have a test, but using the filenametest_*.py
, py.test will add this to the sources when it does an os walk.https://github.com/GlenNicholls/solar_tracking_project/blob/54261cbb0eadff70b82e4030e92d69b88a0ffb34/src/shaft_encoder/test/test_class_counting.py#L1-L10