2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 19:15:41 +00:00

should not be reached - ignore in cov

This commit is contained in:
Matthias
2022-02-13 20:23:32 +01:00
parent 0eb6d46c4b
commit be196b2948

View File

@ -23,7 +23,7 @@ def health_status(request):
if request.path.endswith('.js'):
# Do not provide to script requests
return {}
return {} # pragma: no cover
if hasattr(request, '_inventree_health_status'):
# Do not duplicate efforts