14:35 $ pytest -sv swh/web/tests/api/views/test_graph.py ============================================================================================== test session starts =============================================================================================== platform linux -- Python 3.7.3, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 -- /home/anlambert/.virtualenvs/swh/bin/python3 cachedir: .pytest_cache django: settings: swh.web.settings.tests (from ini) hypothesis profile 'swh-web-fast' -> deadline=None, max_examples=1, suppress_health_check=[HealthCheck.too_slow, HealthCheck.filter_too_much], database=DirectoryBasedExampleDatabase('/home/anlambert/swh/swh-environment/swh-web/.hypothesis/examples') rootdir: /home/anlambert/swh/swh-environment/swh-web, configfile: pytest.ini plugins: aiohttp-0.3.0, asyncio-0.14.0, django-3.9.0, mock-3.3.1, requests-mock-1.8.0, celery-4.4.7, hypothesis-5.33.1, forked-1.3.0, xdist-2.1.0, dash-1.16.0, postgresql-2.4.1, swh.journal-0.4.3.dev2+g4c1a4d5.d20200917, swh.core-0.3.1.dev1+gd46d4c7 collected 1 item swh/web/tests/api/views/test_graph.py::test_graph_endpoint_need_authentication ERROR ===================================================================================================== ERRORS ===================================================================================================== ___________________________________________________________________________ ERROR at setup of test_graph_endpoint_need_authentication ____________________________________________________________________________ @pytest.fixture(scope="session", autouse=True) def tests_data(): > data = get_tests_data(reset=True) swh/web/tests/conftest.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ swh/web/tests/data.py:341: in get_tests_data _tests_data = _init_tests_data() swh/web/tests/data.py:189: in _init_tests_data loader.load() ../swh-loader-core/swh/loader/core/loader.py:352: in load self.flush() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def flush(self) -> None: """Flush any potential buffered data not sent to swh-storage. """ > self.storage.flush() E TypeError: flush() missing 1 required positional argument: 'object_types' ../swh-loader-core/swh/loader/core/loader.py:149: TypeError ----------------------------------------------------------------------------------------------- Captured log setup ----------------------------------------------------------------------------------------------- ERROR swh.loader.git.Loader:loader.py:339 Loading failure, updating to `partial` status Traceback (most recent call last): File "/home/anlambert/swh/swh-environment/swh-loader-core/swh/loader/core/loader.py", line 322, in load self.store_data() File "/home/anlambert/swh/swh-environment/swh-loader-core/swh/loader/core/loader.py", line 439, in store_data self.flush() File "/home/anlambert/swh/swh-environment/swh-loader-core/swh/loader/core/loader.py", line 149, in flush self.storage.flush() TypeError: flush() missing 1 required positional argument: 'object_types' ============================================================================================ short test summary info ============================================================================================= ERROR swh/web/tests/api/views/test_graph.py::test_graph_endpoint_need_authentication - TypeError: flush() missing 1 required positional argument: 'object_types'