Tests: refactor config file override
Ususally, we use the default config file (by copying it to the target path) to run the unit tests. In this case, we use a special config (SQLite) and override sys.argv
using a patch. This approach needs no cp
commands and beside that it works both in the pipeline and locally using make test
.
Review this approach in the close future and refactor if necessary.