pytest: Fix tests execution with pytest 8.1
Remove use of --import-mode=importlib
pytest option and use
new option consider_namespace_packages
to fix tests execution
with latest pytest release.
Edited by Antoine Lambert
Staging instance, all changes can be removed at any time
Remove use of --import-mode=importlib
pytest option and use
new option consider_namespace_packages
to fix tests execution
with latest pytest release.