From be196b29480adac2af8ddc9bc1753d8d5738f424 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 13 Feb 2022 20:23:32 +0100 Subject: [PATCH] should not be reached - ignore in cov --- InvenTree/InvenTree/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/InvenTree/context.py b/InvenTree/InvenTree/context.py index bd68a0182f..94665f9e07 100644 --- a/InvenTree/InvenTree/context.py +++ b/InvenTree/InvenTree/context.py @@ -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