From 6437674ca8bc92d2867c6d92a9483d9d8ae97617 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 13 Feb 2022 05:16:14 +0100 Subject: [PATCH] ignore database not ready --- InvenTree/report/apps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/report/apps.py b/InvenTree/report/apps.py index 21b3cc380e..fe01573ff5 100644 --- a/InvenTree/report/apps.py +++ b/InvenTree/report/apps.py @@ -90,7 +90,7 @@ class ReportConfig(AppConfig): try: from .models import TestReport - except: + except: # pragma: no cover # Database is not ready yet return @@ -113,7 +113,7 @@ class ReportConfig(AppConfig): try: from .models import BuildReport - except: + except: # pragma: no cover # Database is not ready yet return