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
No related merge requests found
Showing
with 58 additions and 65 deletions
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