Commits on Source (3)
-
Antoine Lambert authored
Dates returned by origin_visit_stats_get from scheduler API are converted to local timezone which can make tests failed if local timezone is different from UTC.
2ac2e521 -
Antoine Lambert authored
Previously, the page size was not taken into account and the default limit value of 1000 was used when calling get_listed_origins from scheduler API leading to incomplete API responses. Fixes #4819.
bd816268 -
Antoine Lambert authored
Previously, functions from the archive module to query origin visit info were returning the latest visit status date instead of the visit date. This could lead to wrong returned visit when searching a visit by date through links offered by the webapp as the wrong visit date was used.
387d9f1f
Showing
- swh/web/conftest.py 13 additions, 17 deletionsswh/web/conftest.py
- swh/web/save_bulk/api_views.py 10 additions, 4 deletionsswh/web/save_bulk/api_views.py
- swh/web/save_bulk/tests/test_api_views.py 32 additions, 2 deletionsswh/web/save_bulk/tests/test_api_views.py
- swh/web/utils/archive.py 19 additions, 22 deletionsswh/web/utils/archive.py
- swh/web/utils/converters.py 16 additions, 6 deletionsswh/web/utils/converters.py
- swh/web/utils/tests/test_converters.py 24 additions, 17 deletionsswh/web/utils/tests/test_converters.py