Skip to content

Fix test_archive.test_lookup_origin when hypothesis produces twice the same URL

David Douard requested to merge douardda/swh-web:fix-test-lookup-origin into master

Hypothesis may generate the same URL twice (or more) in the same test session, in which case the given URL would already be in archive._origin_info() cache, defeating the test.

So clear django cache completely before running this test.

Merge request reports