HomeSoftware Heritage

Fix InMemoryStorage.origin_visit_upsert() method

Description

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).

Details

Provenance
douarddaAuthored on May 29 2020, 2:21 PM
douarddaPushed on Jun 2 2020, 2:31 PM
Differential Revision
D3202: Fix InMemoryStorage.origin_visit_upsert() method
Parents
rDSTO6c6080b4d70c: Fix type annotation.
Branches
Unknown
Tags
Unknown
Build Status
Buildable 12576
Build 19105: test-and-buildJenkins console · Jenkins