visit_statuses = ({'date': datetime.datetime(2021, 7, 9, 8, 31, 34, 245474, tzinfo=datetime.timezone.utc), 'origin': 'cavabarder', 'sna...: 'cavabarder', 'snapshot': b'\xd8\x1c\xc0q\x0e\xb6\xcf\x9e\xfd[\x92\n\x84S\xe1\xe0qW\xb6\xcd', 'status': 'full', ...})
swh_scheduler = <swh.scheduler.backend.SchedulerBackend object at 0x7f95eddce710>
@pytest.mark.parametrize(
"visit_statuses", permutations(VISIT_STATUSES_1, len(VISIT_STATUSES_1))
)
def test_journal_client_origin_visit_status_permutation1(visit_statuses, swh_scheduler):
"""Ensure out of order topic subscription ends up in the same final state
"""
process_journal_objects(
{"origin_visit_status": visit_statuses}, scheduler=swh_scheduler
)
> (actual_visit_stats,) = swh_scheduler.origin_visit_stats_get([("cavabarder", "hg")])
E ValueError: not enough values to unpack (expected 1, got 0)
.tox/py3/lib/python3.7/site-packages/swh/scheduler/tests/test_journal_client.py:558: ValueError
TEST RESULT
TEST RESULT
- Run At
- Jul 8 2021, 10:32 AM