Hello, I’m using nameko and it’s a breeze!
I have a doubt about a warning I get when I run nameko test
, as the pytest warning recommends.
Every time I run it, it says:
========================================================================================= test session starts =========================================================================================
platform linux -- Python 3.8.10, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
rootdir: /home/checor/nameko
plugins: nameko-sqlalchemy-1.5.0, nameko-2.14.0, cov-3.0.0
collected 1 item
test_service.py .
========================================================================================== warnings summary ===========================================================================================
../../../.virtualenvs/nameko/lib/python3.8/site-packages/_pytest/config/__init__.py:1114
/home/checor/.virtualenvs/nameko/lib/python3.8/site-packages/_pytest/config/__init__.py:1114: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: nameko
self._mark_plugins_for_rewrite(hook)
-- Docs: https://docs.pytest.org/en/stable/warnings.html
The Module already imported so cannot be rewritten: nameko
worries me a little. Is it expected behaviour? My tests are running fine, but I want is there something that I missed before using nameko test
.
Thanks!