HomeSoftware Heritage

tests: Clean hashutil._blake2_hash_cache after mocking blake2 functions.

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

Description

tests: Clean hashutil._blake2_hash_cache after mocking blake2 functions.

Depending on the order in which tests are run, these tests may insert
lambdas with mocked blake2 functions in their closure to be inserted in
hashutil._blake2_hash_cache; causing all future tests to fail.

While this does not happen with the default order of tests, it does when
using pytest-xdist.

Details

Provenance
vlorentzAuthored on Feb 19 2021, 10:29 AM
vlorentzPushed on Feb 19 2021, 10:49 AM
Differential Revision
D5113: tests: Clean hashutil._blake2_hash_cache after mocking blake2 functions.
Build Status
Buildable 19376
Build 30047: test-and-buildJenkins console · Jenkins

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.