mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 04:26:44 +00:00
should not be reached - ignore in cov
This commit is contained in:
parent
0eb6d46c4b
commit
be196b2948
@ -23,7 +23,7 @@ def health_status(request):
|
|||||||
|
|
||||||
if request.path.endswith('.js'):
|
if request.path.endswith('.js'):
|
||||||
# Do not provide to script requests
|
# Do not provide to script requests
|
||||||
return {}
|
return {} # pragma: no cover
|
||||||
|
|
||||||
if hasattr(request, '_inventree_health_status'):
|
if hasattr(request, '_inventree_health_status'):
|
||||||
# Do not duplicate efforts
|
# Do not duplicate efforts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user