diff --git a/InvenTree/InvenTree/settings.py b/InvenTree/InvenTree/settings.py index a4e7870143..52f4eb3dca 100644 --- a/InvenTree/InvenTree/settings.py +++ b/InvenTree/InvenTree/settings.py @@ -736,10 +736,10 @@ MARKDOWNIFY_BLEACH = False # Plugins PLUGIN_URL = 'plugin' -PLUGIN_DIRS = [ - 'plugin.builtin', - 'plugins', -] +PLUGIN_DIRS = ['plugin.builtin', ] + +if not TESTING: + PLUGIN_DIRS.append('plugins') # load samples if in debug mode if DEBUG or TESTING: