Skip to content
Snippets Groups Projects
Commit e0afc520 authored by David Douard's avatar David Douard
Browse files

config: Remove default config values for backends

These default config values are mostly irrelevant for any kind of
deployment. Removing the default values make it clear and mandatory
these need to be explicitly configured.

This also prevent the swh.web.utils.archive module from
executing (backend instantiation) code at module loading time.

Introduces a new patch_backend fixture to help mocking a specific method
of a known configured backend (storage, vault, search etc.) to try to
provide a standard and unified process to mock these in all tests.
parent 00577d73
No related branches found
No related tags found
Loading
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