Methods snapshot_get and snapshot_get_branches should return
None if the snapshot does not exist in the archive.
Add missing tests to cover that case.
Spotted thanks to swh-environment Jenkins job.
Differential D6315
postgresql: Fix regression introduced in previous commit anlambert on Sep 21 2021, 12:28 PM. Authored by Tags None Subscribers None
Details
Methods snapshot_get and snapshot_get_branches should return Add missing tests to cover that case. Spotted thanks to swh-environment Jenkins job.
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D6315 (id=22932)Rebasing onto 9465054ef0... Current branch diff-target is up to date. Changes applied before testcommit 59e63db65c51e77c20dc97cc12af86e89fa22ab8 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Tue Sep 21 12:25:25 2021 +0200 postgresql: Fix regression introduced in previous commit Methods snapshot_get and snapshot_get_branches should return None if the snapshot does not exist in the archive. Add missing tests to cover that case. See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/1420/ for more details. |