HomeSoftware Heritage

vault.tests: Make postgresql fixture faster

Description

vault.tests: Make postgresql fixture faster

This reuse the swh.core.db.db_utils.SwhDatabasejanitor which allows to truncate
tables in between test calls. This makes the tests faster.

Details

Provenance
ardumontAuthored on Oct 18 2020, 2:54 PM
ardumontPushed on Oct 22 2020, 11:51 AM
Differential Revision
D4310: vault.tests: Make postgresql fixture faster
Parents
rDVAU8e4026a5e8c9: swh.vault: Unify get_vault factory function with other factories
Branches
Unknown
Tags
Unknown
Build Status
Buildable 16524
Build 25460: test-and-buildJenkins console · Jenkins