Page MenuHomeSoftware Heritage

test: Adapt origin validation test according to latest model changes
ClosedPublic

Authored by ardumont on Mar 26 2020, 10:58 AM.

Details

Summary

Origin model no longer allows to have a type.

Test will work if the new swh.model is tagged (and successfully uploaded to pypi)

Related to f533f62bbf114cfcc29f7c72307c4dfbe99cf048

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

It tests for the missing url, so it's still relevant.

This revision now requires changes to proceed.Mar 26 2020, 11:00 AM
This revision is now accepted and ready to land.Mar 26 2020, 11:12 AM

Add docstring to test

(Test will fail because swh.model upload to pypi is failing for now)

ardumont retitled this revision from test_storage: Remove no longer relevant validation test to test: Adapt origin validation test according to latest model changes.Mar 26 2020, 3:41 PM