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

test/db: simplify a bit the handling of test db backends

Rename 'swh/core/test/data/cli' as 'swh/core/test/data/postgresql' so
this directory use the same name as the default db backend
in cli tools (postgresql). This allow to remove a bit of complexity in
mockups for import_swhmodule and get_swh_backend_module.

Also make mock_get_swh_backend_module() depend on
mock_import_swhmodule() since the former need the later to work properly
in most cases.
parent df2d3c2c
No related branches found
No related tags found
1 merge request!395Improve 'swh db' commands for easier usage in test environments and better consistency
Pipeline #11648 passed