HomeSoftware Heritage

tests: Fix flaky test introduced in e72b1e7a9d18

Description

tests: Fix flaky test introduced in e72b1e7a9d18

Hypothesis can generate multiple times the same origin URL which
makes test fail due to the use of django cache in get_origin_visits.

So force the generation of a single hypothesis example for that test.

Details

Provenance
anlambertAuthored on Feb 7 2022, 5:56 PM
anlambertPushed on Feb 7 2022, 6:16 PM
Differential Revision
D7111: tests: Fix flaky test introduced in e72b1e7a9d18
Parents
rDWAPPSca8e529f2db4: package.json: Upgrade dependencies
Branches
Unknown
Tags
Unknown
Build Status
Buildable 26622
Build 41632: test-and-buildJenkins console · Jenkins