Page MenuHomeSoftware Heritage

test_storage: test_origin: Use data model object
ClosedPublic

Authored by ardumont on Jul 20 2020, 10:24 PM.

Diff Detail

Repository
rDSTO Storage manager
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 D3577 (id=12589)

Could not rebase; Attempt merge onto c9e921eb45...

Updating c9e921eb..d4f896e0
Fast-forward
 swh/storage/pytest_plugin.py            |  29 ++-
 swh/storage/tests/conftest.py           |   6 +-
 swh/storage/tests/test_pytest_plugin.py |   6 +-
 swh/storage/tests/test_retry.py         |   6 +-
 swh/storage/tests/test_storage.py       | 415 ++++++++++++++++----------------
 5 files changed, 243 insertions(+), 219 deletions(-)
Changes applied before test
commit d4f896e00225f0e732d79549604036142b2af7b7
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Mon Jul 20 22:21:56 2020 +0200

    test_storage: test_origin: Use data model object
    
    Related to T2494

commit 6bdfd85c92088813b31884771b5bed41b9d9cba8
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Mon Jul 20 21:44:09 2020 +0200

    test_storage: origin_metadata: Centralize objects within sample_data_model
    
    Related to T2494

commit a6f70c368031e0f5d090fd655970447f5b6b7756
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Mon Jul 20 21:12:55 2020 +0200

    test_storage: content_metadata: Centralize objects within sample_data_model
    
    Related to T2494

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

This revision is now accepted and ready to land.Jul 21 2020, 9:21 AM