From baca0dc2689c96b92a3e52eadd1dbdb981e8e9ec Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 11 May 2022 23:05:22 +0200 Subject: [PATCH] do not cover error --- InvenTree/plugin/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/plugin/models.py b/InvenTree/plugin/models.py index 1c5dff6b68..90fe447103 100644 --- a/InvenTree/plugin/models.py +++ b/InvenTree/plugin/models.py @@ -59,7 +59,7 @@ class PluginConfig(models.Model): try: return self.plugin._mixinreg - except (AttributeError, ValueError): + except (AttributeError, ValueError): # pragma: no cover return {} # functions