mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
do not load external plugins for tests
This commit is contained in:
parent
171a6d7a4d
commit
d3a4aede29
@ -736,10 +736,10 @@ MARKDOWNIFY_BLEACH = False
|
|||||||
# Plugins
|
# Plugins
|
||||||
PLUGIN_URL = 'plugin'
|
PLUGIN_URL = 'plugin'
|
||||||
|
|
||||||
PLUGIN_DIRS = [
|
PLUGIN_DIRS = ['plugin.builtin', ]
|
||||||
'plugin.builtin',
|
|
||||||
'plugins',
|
if not TESTING:
|
||||||
]
|
PLUGIN_DIRS.append('plugins')
|
||||||
|
|
||||||
# load samples if in debug mode
|
# load samples if in debug mode
|
||||||
if DEBUG or TESTING:
|
if DEBUG or TESTING:
|
||||||
|
Loading…
Reference in New Issue
Block a user