Page MenuHomeSoftware Heritage

tests: Drop no longer used loader base tests code
ClosedPublic

Authored by ardumont on Jul 16 2020, 11:45 AM.

Details

Summary

No longer used (finally)

$ cd swh-environment
$ grep -r "BaseLoaderStorageTest" **/swh/*
Binary file swh-loader-core/swh/loader/core/tests/__pycache__/test_tests.cpython-37-pytest-5.4.3.pyc matches
Binary file swh-loader-core/swh/loader/core/tests/__pycache__/__init__.cpython-37-pytest-5.4.3.pyc matches
$ grep -r "BaseLoaderTest" **/swh/*
Binary file swh-loader-core/swh/loader/core/tests/__pycache__/test_tests.cpython-37-pytest-5.4.3.pyc matches
Binary file swh-loader-core/swh/loader/core/tests/__pycache__/__init__.cpython-37-pytest-5.4.3.pyc matches

Related to T2488

Test Plan

tox

coverage increased a bit (94% -> 96%), here is before:

TOTAL                                                                                    3104    129    546     50    94%
====================================================================================================== 141 passed, 8 warnings in 22.13s =======================================================================================================

after:

====================================================================================================== 138 passed, 8 warnings in 22.04s =======================================================================================================
TOTAL                                                                                    2976     92    520     49    96%

Diff Detail

Event Timeline

Build is green

Patch application report for D3522 (id=12441)

Rebasing onto 28b35a18c7...

Current branch diff-target is up to date.
Changes applied before test
commit 070c962e4effbf00841da2f684aad242ed82aad5
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Thu Jul 16 11:44:41 2020 +0200

    tests: Drop no longer used base tests code
    
    Related to T2488

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

ardumont edited the test plan for this revision. (Show Details)
ardumont edited the summary of this revision. (Show Details)
ardumont retitled this revision from tests: Drop no longer used base tests code to tests: Drop no longer used loader base tests code.Jul 16 2020, 11:51 AM
ardumont edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Jul 16 2020, 1:40 PM