mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
load plugin samples also if in test mode
This commit is contained in:
parent
1dd41b0e2d
commit
4b10c8ca1b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user