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
Remove use of --import-mode=importlib
pytest option and use
new option consider_namespace_packages
to fix tests execution
with latest pytest release.