-
- Downloads
Add the 'flavor' argument to db_utils.initialize_database_for_module()
so one can create database (e.g. for unit tests) of given flavor.
parent
d0e7f5a1
No related branches found
No related tags found
Showing
- swh/core/db/db_utils.py 4 additions, 2 deletionsswh/core/db/db_utils.py
- swh/core/db/tests/data/cli/sql/15-flavor.sql 22 additions, 0 deletionsswh/core/db/tests/data/cli/sql/15-flavor.sql
- swh/core/db/tests/data/cli_new/sql/15-flavor.sql 22 additions, 0 deletionsswh/core/db/tests/data/cli_new/sql/15-flavor.sql
- swh/core/db/tests/test_cli.py 3 additions, 1 deletionswh/core/db/tests/test_cli.py
- swh/core/db/tests/test_db_utils.py 25 additions, 2 deletionsswh/core/db/tests/test_db_utils.py
Loading