Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.scheduler.tests.test_journal_client::test_journal_client_origin_visit_status_from_journal
Failed

TEST RESULT

Run At
Jan 13 2021, 6:46 PM
Details
swh_scheduler = <swh.scheduler.backend.SchedulerBackend object at 0x7fef463d1b38> def test_journal_client_origin_visit_status_from_journal(swh_scheduler): process_fn = functools.partial(process_journal_objects, scheduler=swh_scheduler,) visit_statuses = [ OriginVisitStatus( # eventful origin="foo", visit=1, status="full", date=utcnow(), type="git", > snapshot=hash_to_bytes("d81cc0710eb6cf9efd5b920a8453e1e07157b6cd"), ), OriginVisitStatus( # ignored due to status origin="zrb", visit=2, status="created", date=utcnow(), type="hg", snapshot=None, ), OriginVisitStatus( # uneventful origin="bar", visit=1, status="partial", date=utcnow(), type="svn", snapshot=None, ), OriginVisitStatus( # eventful origin="blue", visit=2, status="partial", date=utcnow(), type="tar", snapshot=hash_to_bytes("fffcc0710eb6cf9efd5b920a8453e1e07157b6cd"), ), OriginVisitStatus( # ignored due to status origin="zrb", visit=2, status="ongoing", date=utcnow(), type="hg", snapshot=None, ), ] E TypeError: __init__() got an unexpected keyword argument 'type' .tox/py3/lib/python3.7/site-packages/swh/scheduler/tests/test_journal_client.py:32: TypeError