2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 03:25:42 +00:00

do not load external plugins for tests

This commit is contained in:
Matthias
2021-10-17 19:32:06 +02:00
parent 171a6d7a4d
commit d3a4aede29

View File

@ -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: