[SIGMON-521] Increase code coverage and corrects falty tests
Context
- Improve the test coverage for PIC2 analysis.
- Make linters happy
- Capture the logs <= WARNING
What was done
- Make linters happy
- Capture the logs <= WARNING, and adapt the current tests
- Write new tests to improve the coverage
- Change the coverage config to make the report more accurate
Review objectives
- assessment of test functionality
- assessment of test quality
Edited by Simon Mazenoux