HomeSoftware Heritage

tests/conftest: Reset global state between test runs

Description

tests/conftest: Reset global state between test runs

Restore previous tests behavior before the pytest migration.

Also use a cleaner way to initialize tests data through a pytest fixture
and cleanup implementation (no more global variables use).

Related to T2062

Details

Provenance
anlambertAuthored on Nov 18 2019, 6:13 PM
anlambertPushed on Nov 19 2019, 2:26 PM
Parents
rDWAPPS74a31fc1681e: tests: Migrate to pytest and cleanup
Branches
Unknown
Tags
Unknown
Build Status
Buildable 9128
Build 13344: Cypress tests for swh-web commitsJenkins
Build 13343: test-and-buildJenkins