From 4b10c8ca1bcfc71ac5138771e47ac5de021ec361 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 9 Oct 2021 22:10:26 +0200 Subject: [PATCH] load plugin samples also if in test mode --- InvenTree/InvenTree/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/InvenTree/settings.py b/InvenTree/InvenTree/settings.py index 216908798f..fc47861b25 100644 --- a/InvenTree/InvenTree/settings.py +++ b/InvenTree/InvenTree/settings.py @@ -667,7 +667,7 @@ PLUGIN_DIRS = [ ] # load samples if in debug mode -if DEBUG: +if DEBUG or TESTING: PLUGIN_DIRS.append('plugin.samples') # collect all plugins from paths