tests: Fix errors after swh-scheduler API update
The PaginatedListedOriginList model has been updated in rDSCHb93aa5be2c2d5dc2130e1027698f3e1255052d8d and the origins field has been renamed to results.
This commit is contained in:
parent
b6a69b2ed9
commit
ea8ecee541
9 changed files with 22 additions and 22 deletions
|
@ -51,7 +51,7 @@ def test_lister_cgit_run(requests_mock_datadir, swh_scheduler):
|
|||
# test page parsing
|
||||
scheduler_origins = swh_scheduler.get_listed_origins(
|
||||
lister_cgit.lister_obj.id
|
||||
).origins
|
||||
).results
|
||||
assert len(scheduler_origins) == expected_nb_origins
|
||||
|
||||
# test listed repositories
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue