Page MenuHomeSoftware Heritage

Remove CMDBTS based tests
ClosedPublic

Authored by douardda on Jun 4 2021, 3:44 PM.

Details

Summary
  • remove test_provenance_content_find_all(), now we have the new version of this in test_provenance_heuristics.py.

    Also test this later with an ArchiveStorage in addition to the default ArchivePostgreSQL class.
  • Parametrize the archive() test fixture to test both Archive implementations aka. both the ArchiveStorage ans the ArchivePostgreSQL ones.
  • Remove test_provenance_add_revision it's superseeded by test_provenance_heuristics.

Diff Detail

Repository
rDPROV Provenance database
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 D5821 (id=20826)

Rebasing onto f64a41b6ee...

Current branch diff-target is up to date.
Changes applied before test
commit 100384fb8f148e5d42489264cde783cd18e59862
Author: David Douard <david.douard@sdfa3.org>
Date:   Fri Jun 4 11:43:24 2021 +0200

    Remove test_provenance_add_revision
    
    it's superseeded by test_provenance_heuristics.

commit b73d7ff823bee5c69bfbfb113df7b0d575bbf289
Author: David Douard <david.douard@sdfa3.org>
Date:   Fri Jun 4 10:50:06 2021 +0200

    Parametrize the archive() test fixture to test both Archive implementations
    
    aka. both the ArchiveStorage ans the ArchivePostgreSQL ones.

commit 4138c61740d2a4771613ead0e1cf529e37c7d239
Author: David Douard <david.douard@sdfa3.org>
Date:   Fri Jun 4 10:38:55 2021 +0200

    Remove the CMDBTS based test_provenance_content_find_all
    
    now we have the new version of this in test_provenance_heuristics.py.
    
    Also test this later with an ArchiveStorage in addition to the default
    ArchivePostgreSQL class.

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

This revision is now accepted and ready to land.Jun 4 2021, 4:28 PM