Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.web.tests.api.views.test_content::Tests / Python tests / test_api_content_filetype
Failed

TEST RESULT

Run At
Nov 6 2020, 4:36 PM
Details
api_client = <rest_framework.test.APIClient object at 0x7f7cc4af45f8> indexer_data = <swh.web.tests.conftest._IndexerData object at 0x7f7cc4ad85f8> @given(content()) > def test_api_content_filetype(api_client, indexer_data, content): .tox/py3/lib/python3.7/site-packages/swh/web/tests/api/views/test_content.py:21: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .tox/py3/lib/python3.7/site-packages/swh/web/tests/api/views/test_content.py:22: in test_api_content_filetype indexer_data.content_add_mimetype(content["sha1"]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <swh.web.tests.conftest._IndexerData object at 0x7f7cc4ad85f8> cnt_id = '748aa4d8355a531b5d792edfe5232bb5d15f8a2e' def content_add_mimetype(self, cnt_id): > self.mimetype_indexer.run([hash_to_bytes(cnt_id)], "update-dups") E TypeError: run() takes 2 positional arguments but 3 were given .tox/py3/lib/python3.7/site-packages/swh/web/tests/conftest.py:336: TypeError