HomeSoftware Heritage

test_model: Fix compatibility with pytest-xdist

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

Description

test_model: Fix compatibility with pytest-xdist

Using .now() produces data that differs between xdist processes,
as files are imported after forking, and xdist requires consistent
data across processes.

Details

Provenance
vlorentzAuthored on Dec 15 2021, 2:01 PM
vlorentzPushed on Dec 15 2021, 3:17 PM
Differential Revision
D6841: test_model: Fix compatibility with pytest-xdist
Build Status
Buildable 25650
Build 40105: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.