[SIGMON-334] Failing tests due to the distutil's deprecation warnings
Context
What was done
- distutils' deprecation warning filter out from the list of the intercepted warnings before asserting
-
jinja2
version set to<3.1.1
so the docs can be generated
TODO
- Clarify if we want to use
warnings
or maybe it would be cleaner to uselogging
(should be done in the scope of https://its.cern.ch/jira/browse/SIGMON-228)
QA
- sonar: http://sonar.cern.ch/dashboard?branch=SIGMON-334_failing_tests_warnings&id=lhc-sm-api
- unit tests are passing
Review objectives
- assessment of code functionality
- assessment of code quality
- identifying potential refactorings / logic common to other projects
- knowledge sharing