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.
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.