Page MenuHomeSoftware Heritage

sql: move sql files in the python package and refactor tests to use these according to D538
ClosedPublic

Authored by douardda on Oct 16 2018, 11:24 PM.

Details

Summary

This requires a few steps:

  • refactor the BaseTestStorage to use SingleDbTestFixture
  • rename any swh-xxx.sql files into NN-swh-xxx.sql so we can sort them without ambiguity
  • move them into the python package, so the tests knows where to look for them.

Related to T1265.

Test Plan

all tests should pass if D538 is applied to swh-core

Diff Detail

Repository
rDCIDX Metadata indexer
Branch
t1265-kill-testdata
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 1668
Build 2012: arc lint + arc unit