server-tools/sentry/tests
Travis Waelbroeck 93b758bf11 [FIX] sentry: enable use of "sentry_odoo_dir" config parameter
Allow using `sentry_release` or `sentry_odoo_dir` in the Odoo
configuration file.

Previously, the `sentry_odoo_dir` was never actually respected. It would
always be overridden by `sentry_release`. Even if `sentry_release` is
not set, it will use an empty value instead of using `sentry_odoo_dir`
to find the Git commit hash.

After this commit, the `sentry_release` parameter still takes
precedence. However, if `sentry_release` is not set and
`sentry_odoo_dir` is set, then `sentry_odoo_dir` will be used to find
the appropriate Git commit hash, which will be used as the `release`
value.

Both cases are covered by the added unit tests.
2022-12-19 16:05:31 +05:30
..
__init__.py [IMP] sentry: black, isort 2022-12-19 16:05:31 +05:30
test_client.py [FIX] sentry: enable use of "sentry_odoo_dir" config parameter 2022-12-19 16:05:31 +05:30
test_logutils.py [MIG] sentry: Migration to 14.0 2022-12-19 16:05:31 +05:30