aurweb/aurweb/testing
moson 4637b2edba
fix(tests): Fix test case for Prometheus metrics
Disable prometheus multiprocess mode in tests to avoid global state:
Depending on the workers which are processing a testfile,
we might run into race issues where tests might influence each other.

We also need to make sure to clear any previously collected values
in case the same worker/process is executing different tests which
evaluate prometheus values.

Signed-off-by: moson <moson@archlinux.org>
2023-11-27 13:21:37 +01:00
..
__init__.py housekeep: TU rename - Table/Column names, scripts 2023-09-30 16:45:05 +02:00
alpm.py chore: rename logging.py and redis.py to avoid circular imports 2022-10-22 18:51:38 +01:00
email.py style: Run pre-commit 2022-08-22 22:40:45 +02:00
filelock.py chore: rename logging.py and redis.py to avoid circular imports 2022-10-22 18:51:38 +01:00
git.py feat: archive git repository (experimental) 2022-09-24 16:51:25 +00:00
html.py style: Run pre-commit 2022-08-22 22:40:45 +02:00
prometheus.py fix(tests): Fix test case for Prometheus metrics 2023-11-27 13:21:37 +01:00
requests.py fix: validate timezone before use 2023-02-06 16:40:43 +00:00
smtp.py style: Run pre-commit 2022-08-22 22:40:45 +02:00