The arkindex.metrics unit tests are not running in CI and fail locally
A unit test in arkindex.metrics.tests.test_metrics_api
fails when I run tests locally:
======================================================================
FAIL [0.004s]: test_metrics_base (arkindex.metrics.tests.test_metrics_api.TestMetricsAPI)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/lucidiot/.virtualenvs/backend/lib/python3.10/site-packages/django/test/utils.py", line 460, in inner
return func(*args, **kwargs)
File "/home/lucidiot/dev/ark/backend/arkindex/metrics/tests/test_metrics_api.py", line 16, in test_metrics_base
self.assertEqual(response.status_code, 200)
AssertionError: 404 != 200
I was wondering why it was not failing in CI and found that it just never ran.