HomeSoftware Heritage

Migrate to pytest-style tests

Description

Migrate to pytest-style tests

I want to use parametrized tests in a future commit, but pytest does not
support them on unittest-style classes.
self.subTest() would work too, but I figured it's a good time to migrate
these tests to be consistent with the rest of the codebase.

Details

Provenance
vlorentzAuthored on Sep 16 2021, 11:49 AM
vlorentzPushed on Sep 16 2021, 1:37 PM
Differential Revision
D6279: Migrate to pytest-style tests
Parents
rDLDG8ad9799f2898: Fix pytest warning about undefined marker
Branches
Unknown
Tags
Unknown
Build Status
Buildable 23673
Build 36951: test-and-buildJenkins console · Jenkins