Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.test_retry::test_retrying_proxy_swh_storage_origin_visit_add
Failed

TEST RESULT

Run At
Jun 11 2020, 3:34 PM
Details
swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f6a5f8f0898> sample_data = {'authority': [{'metadata': {'location': 'France'}, 'type': 'deposit', 'url': 'http://hal.inria.example.com/'}], 'cont...384>, 'target': b'12345678901234567890', 'type': 'dir'}), 'id': b'4\x013B2S1\x000\xf51\xe62\xa73\xff7\xc3\xa90'}], ...} def test_retrying_proxy_swh_storage_origin_visit_add(swh_storage, sample_data): """Standard origin_visit_add works as before """ sample_origin = sample_data["origin"][0] origin_url = swh_storage.origin_add_one(sample_origin) origin = list(swh_storage.origin_visit_get(origin_url)) assert not origin > origin_visit = swh_storage.origin_visit_add(origin_url, date_visit1, "hg") E TypeError: origin_visit_add() takes 2 positional arguments but 4 were given .tox/py3/lib/python3.7/site-packages/swh/storage/tests/test_retry.py:358: TypeError