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
Branch
fix-storage
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 11363
Build 17200: tox-on-jenkinsJenkins
Build 17199: arc lint + arc unit

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