indexer_data = <swh.web.tests.conftest._IndexerData object at 0x7f7cc4ad85f8>
@given(content())
> def test_lookup_content_filetype(indexer_data, content):
.tox/py3/lib/python3.7/site-packages/swh/web/tests/common/test_archive.py:137:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/py3/lib/python3.7/site-packages/swh/web/tests/common/test_archive.py:138: in test_lookup_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
TEST RESULT
TEST RESULT
- Run At
- Nov 6 2020, 4:36 PM