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

tests/api/graph: Ensure tests pass with all requests-mock versions

requests-mock recently changed its way to match URLs, paths are now
quoted when registering mocked URLs.

As Web API graph endpoint send HTTP requests to the Graph service
with SWHIDs in URL paths (containing ':' characters), those must
also be quoted or recent requests-mock will not find the registered
mocked URLs.

Also ensure tests still pass with older requests-mock versions.

See https://github.com/jamielennox/requests-mock/commit/f072845
parent 11c737df
No related branches found
No related tags found
1 merge request!548tests/api/graph: Ensure tests pass with all requests-mock versions
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