HomeSoftware Heritage

Fix InMemoryStorage.origin_visit_upsert() method

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

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
Build Status
Buildable 12576
Build 19105: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.