https://github.com/SoftwareHeritage/swh-model
Revision 559a283cb095de2b7da173e5995883b0af801f64 authored by Antoine R. Dumont (@ardumont) on 12 November 2020, 09:39:24 UTC, committed by Antoine R. Dumont (@ardumont) on 12 November 2020, 11:39:04 UTC
So parse_swhid raises a ValidationError when that is detected.

Related to T2769
1 parent fb504b4
Raw File
Tip revision: 559a283cb095de2b7da173e5995883b0af801f64 authored by Antoine R. Dumont (@ardumont) on 12 November 2020, 09:39:24 UTC
identifiers.parse_swhid: Make SWHIDs with whitespaces invalid
Tip revision: 559a283
pytest.ini
[pytest]
addopts = --doctest-modules -p no:pytest_swh_core
norecursedirs = docs .*
markers =
    fs: tests that involve filesystem ios
back to top