Skip to content

PersistentId constructor parameters validation

Validation checks moved from test_persistent_identifier to PersistentId constuctor.

In test_identifiers the validation error messages in the function test_parse_persistent_identifier_parsing_error should be changed according to the error messages raised in the constructor. In the function test_persistent_identifier there are two cases which the version of the pid is 2, the test fails because the version should be 1.


Migrated from D2058 (view on Phabricator)

Merge request reports