tests: Move test fixture generation to a dedicated module
So that tests that requires tests fixture without hypothesis does not break.
That should fix the swh-vault's current broken tests in ci.
Related swh-vault#1354 (closed)
Test Plan
tox
Migrated from D673 (view on Phabricator)