Page MenuHomeSoftware Heritage

move sql files in the package and update tests according to D538
ClosedPublic

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

Details

Summary

make sql db init files part of the python package and use them to
initialize the db used for tests. Also kill now useless sql/Makefile.

Related to T1265.

Test Plan

with D538 applied in swh-core, all tests should pass like:

swh-archiver$ pifpaf run postgresql nosetests

Diff Detail

Repository
rDARC Software Heritage Archiver
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.