HomeSoftware Heritage

tests: refactor the StorageTestFixture class and move sql files in the package

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

tests: refactor the StorageTestFixture class and move sql files in the package

so we can build the db setup sql file on the fly:

  • make it inherit from SingleDbTestFixture, so we can
  • move sql files in swh/storage/sql/
  • get rid og the setUpClass static method to reuse the one from SingleDbTestFixture,
  • apply the required modifications to tests based on this StorageTestFixture.

Warnings:

  • this requires D538,
  • this will break tests in swh-vault.

Also add README.md to the MANIFEST.in file so it does not require
a too recent setuptool.

Details

Provenance
douarddaAuthored on Oct 12 2018, 1:27 PM
douarddaPushed on Oct 17 2018, 3:59 PM
Differential Revision
D540: tests: refactor the StorageTestFixture class and move sql files in the package according to D538

Commit No Longer Exists

This commit no longer exists in the repository.