mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 19:45:46 +00:00
load plugin samples also if in test mode
This commit is contained in:
@ -667,7 +667,7 @@ PLUGIN_DIRS = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
# load samples if in debug mode
|
# load samples if in debug mode
|
||||||
if DEBUG:
|
if DEBUG or TESTING:
|
||||||
PLUGIN_DIRS.append('plugin.samples')
|
PLUGIN_DIRS.append('plugin.samples')
|
||||||
|
|
||||||
# collect all plugins from paths
|
# collect all plugins from paths
|
||||||
|
Reference in New Issue
Block a user