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

api/origin_save: Do not fetch savable visit types when running tests

As this is done through a decorator to replace a variable in a docstring,
it has the side effect to call swh-scheduler API when importing the module.

This is not required when running tests so do not fetch that list of
visit types in that case.
parent 5cab8a54
No related branches found
No related tags found
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