parse_persistent_identifier() should raise a parsing exception on invalid identifiers
In [1]: from swh.model.identifiers import parse_persistent_identifier
In [2]: parse_persistent_identifier('foo')
Out[2]: {'namespace': 'foo', 'scheme_version': {}}
Migrated from T1104 (view on Phabricator)