Towards 100% unit test coverage
A lot of the Python code is effectively tested via all that is in DaVinciTests and DaVinciExamples. Those are actual jobs.
Speaking of unit tests per se, here is the current situation:
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
---------- coverage: platform linux, python 3.9.12-final-0 -----------
Name Stmts Miss Cover Missing
-------------------------------------------------------------------------
Phys/DaVinci/python/DaVinci/LbExec.py 48 10 79% 115-133
Phys/DaVinci/python/DaVinci/algorithms.py 60 15 75% 46, 74-89, 111-116, 127, 161-162
Phys/DaVinci/python/DaVinci/config.py 65 28 57% 101-119, 157-162, 186-222, 227
-------------------------------------------------------------------------
TOTAL 173 53 69%
Ideally the unit tests would achieve 100% coverage.