Page MenuHomeSoftware Heritage
Authored By
ardumont
Jul 2 2020, 12:25 PM
Size
4 KB
Subscribers
None
swh  swh  tony  yavin4  ~  work  …  swh  swh-environment  swh-core  master  %  pytest -x -s
============================================================================================================= test session starts =============================================================================================================
platform linux -- Python 3.7.3, pytest-5.4.1, py-1.8.0, pluggy-0.12.0
rootdir: /home/tony/work/inria/repo/swh/swh-environment/swh-core, inifile: pytest.ini
plugins: mock-1.10.4, aiohttp-0.3.0, xdist-1.31.0, forked-1.1.3, postgresql-2.2.0, dash-1.13.1, testinfra-5.1.0, requests-mock-1.6.0, flask-1.0.0, hypothesis-5.8.0, asyncio-0.10.0, celery-4.3.0, django-3.6.0, kafka-0.3.1, swh.core-0.0.95.post4, swh.journal-0.3.4.post2
collected 0 items / 1 error
=================================================================================================================== ERRORS ====================================================================================================================
______________________________________________________________________________________________ ERROR collecting swh/core/api/tests/test_async.py ______________________________________________________________________________________________
/home/tony/.virtualenvs/swh/lib/python3.7/site-packages/pluggy/manager.py:121: in register
hook._maybe_apply_history(hookimpl)
/home/tony/.virtualenvs/swh/lib/python3.7/site-packages/pluggy/hooks.py:336: in _maybe_apply_history
res = self._hookexec(self, [method], kwargs)
/home/tony/.virtualenvs/swh/lib/python3.7/site-packages/pluggy/manager.py:87: in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
/home/tony/.virtualenvs/swh/lib/python3.7/site-packages/pluggy/manager.py:81: in <lambda>
firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
/home/tony/.virtualenvs/swh/lib/python3.7/site-packages/aiohttp/pytest_plugin.py:36: in pytest_addoption
help='run tests faster by disabling extra checks')
/home/tony/.virtualenvs/swh/lib/python3.7/site-packages/_pytest/config/argparsing.py:94: in addoption
self._anonymous.addoption(*opts, **attrs)
/home/tony/.virtualenvs/swh/lib/python3.7/site-packages/_pytest/config/argparsing.py:353: in addoption
raise ValueError("option names %s already added" % conflict)
E ValueError: option names {'--aiohttp-fast'} already added
============================================================================================================== warnings summary ===============================================================================================================
/home/tony/.virtualenvs/swh/lib/python3.7/site-packages/_pytest/config/__init__.py:586
/home/tony/.virtualenvs/swh/lib/python3.7/site-packages/_pytest/config/__init__.py:586: PytestAssertRewriteWarning:
Module already imported so cannot be rewritten: aiohttp.pytest_plugin
/home/tony/.virtualenvs/swh/lib/python3.7/abc.py:126
/home/tony/.virtualenvs/swh/lib/python3.7/abc.py:126: DeprecationWarning:
Inheritance class RPCServerApp from web.Application is discouraged
/home/tony/.virtualenvs/swh/lib/python3.7/abc.py:126
/home/tony/.virtualenvs/swh/lib/python3.7/abc.py:126: DeprecationWarning:
Inheritance class SWHRemoteAPI from web.Application is discouraged
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=========================================================================================================== short test summary info ===========================================================================================================
ERROR swh/core/api/tests/test_async.py - ValueError: option names {'--aiohttp-fast'} already added
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
======================================================================================================== 3 warnings, 1 error in 1.77s =========================================================================================================

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
982115

Event Timeline