swh_scheduler = <swh.scheduler.backend.SchedulerBackend object at 0x7fce780baef0>
def test_fill_test_data(swh_scheduler):
for task_type in TASK_TYPES.values():
swh_scheduler.create_task_type(task_type)
simulator.fill_test_data(swh_scheduler, num_origins=NUM_ORIGINS)
res = swh_scheduler.get_listed_origins()
> assert len(res.origins) == NUM_ORIGINS
E AttributeError: 'PaginatedListedOriginList' object has no attribute 'origins'
.tox/py3/lib/python3.7/site-packages/swh/scheduler/tests/test_simulator.py:22: AttributeError
TEST RESULT
TEST RESULT
- Run At
- Jan 21 2021, 1:45 PM