HomeSoftware Heritage

tests: Simplify origin comparison and improve pytest diff on failure

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

Description

tests: Simplify origin comparison and improve pytest diff on failure

By using a single equality instead of checking len() then zip()
to check one by one, pytest can find the common/missing elements
and print them nicely when the two lists are unequal.

Details

Provenance
vlorentzAuthored on Aug 24 2022, 5:21 PM
vlorentzPushed on Aug 25 2022, 10:01 AM
Differential Revision
D8307: tests: Simplify origin comparison and improve pytest diff on failure
Build Status
Buildable 31053
Build 48583: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.