client: add `visits` method to get the list of an origin visits
A test is added to ensure the pagination and the data typing are working as expected.
parent
3a493dbf
No related branches found
No related tags found
Showing
- swh/web/client/client.py 46 additions, 0 deletionsswh/web/client/client.py
- swh/web/client/tests/api_data.py 210 additions, 0 deletionsswh/web/client/tests/api_data.py
- swh/web/client/tests/conftest.py 8 additions, 2 deletionsswh/web/client/tests/conftest.py
- swh/web/client/tests/gen-api-data.sh 2 additions, 0 deletionsswh/web/client/tests/gen-api-data.sh
- swh/web/client/tests/test_web_api_client.py 15 additions, 0 deletionsswh/web/client/tests/test_web_api_client.py
Loading
Please register or sign in to comment