Page MenuHomeSoftware Heritage

Add a test for the vault db initialization command `swh db init vault`
ClosedPublic

Authored by douardda on Thu, Aug 4, 2:43 PM.

Diff Detail

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

Event Timeline

Build is green

Patch application report for D8185 (id=29544)

Rebasing onto e5dfc2378f...

Current branch diff-target is up to date.
Changes applied before test
commit aa799aa5a33460ddbb0b1fdfedc84f24b5dbf353
Author: David Douard <david.douard@sdfa3.org>
Date:   Thu Aug 4 14:29:36 2022 +0200

    Add a test for the vault db initialization command `swh db init vault`

See https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/247/ for more details.

vlorentz added a subscriber: vlorentz.
vlorentz added inline comments.
swh/vault/tests/test_cli.py
150–157

the assertion doesn't need to be in the with block

This revision is now accepted and ready to land.Thu, Aug 4, 3:02 PM

Build is green

Patch application report for D8185 (id=29550)

Rebasing onto e5dfc2378f...

Current branch diff-target is up to date.
Changes applied before test
commit 186295793d7d0b72aa704a99f42629dd6499db36
Author: David Douard <david.douard@sdfa3.org>
Date:   Thu Aug 4 14:29:36 2022 +0200

    Add a test for the vault db initialization command `swh db init vault`

See https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/248/ for more details.