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
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

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