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