Skip to content
Snippets Groups Projects
Commit a50e0c5a authored by Antoine Lambert's avatar Antoine Lambert
Browse files

api/metadata: Fix issues detected with hypothesis

Running metadata tests with multiple hyothesis examples uncovered those
issues in api-1-raw-extrinsic-metadata-swhid Web API view:

  - ExtendedSWHID.from_string must be used to parse extended SWHID.

  - link-next URL for pagination was invalid.

  - next_page_token must be encoded before providing it to urlsafe_b64encode.
parent 87cc9e04
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment