the self._origin_visits[origin_url] list was built one element too big
(since visit ids starts from 1 and not 0).
This is needed to ease writing replayer tests (by comparing these lists).
Differential D3202
Fix InMemoryStorage.origin_visit_upsert() method douardda on May 29 2020, 3:59 PM. Authored by Tags None Subscribers None
Details
the self._origin_visits[origin_url] list was built one element too big This is needed to ease writing replayer tests (by comparing these lists).
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D3202 (id=11367)Rebasing onto 6c6080b4d7... Current branch diff-target is up to date. Changes applied before testcommit eef4900db52a391e20ab51e36bace412ac6730d8 Author: David Douard <david.douard@sdfa3.org> Date: Fri May 29 14:21:55 2020 +0200 Fix InMemoryStorage.origin_visit_upsert() method the self._origin_visits[origin_url] list was built one element too big (since visit ids starts from 1 and not 0). This is needed to ease writing replayer tests (by comparing these lists). See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/206/ for more details. |