Page MenuHomeSoftware Heritage

algos.test_snapshot: Use model objects from sample_data_model
ClosedPublic

Authored by ardumont on Jul 16 2020, 3:19 PM.

Details

Summary

This opens up origin_visits and add new snapshots to the fixture. So we can
reuse those.

Related to T2494

Test Plan

tox

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 D3529 (id=12465)

Rebasing onto b6971b5139...

Current branch diff-target is up to date.
Changes applied before test
commit bd9a0aed5326c4a07d781e63d0ee2051cac77211
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Thu Jul 16 15:17:33 2020 +0200

    algos.test_snapshot: Use model objects from sample_data_model
    
    This opens up origin_visits and add new snapshots to the fixture. So we can
    reuse those.
    
    Related to 2494

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

Build is green

Patch application report for D3529 (id=12466)

Rebasing onto b6971b5139...

Current branch diff-target is up to date.
Changes applied before test
commit 97a07211e87c5e2cfdbb8594549e5000ea316037
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Thu Jul 16 15:17:33 2020 +0200

    algos.test_snapshot: Use model objects from sample_data_model
    
    This opens up origin_visits and add new snapshots to the fixture. So we can
    reuse those.
    
    Related to T2494

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

This revision is now accepted and ready to land.Jul 16 2020, 4:57 PM