mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 21:16:46 +00:00
add additional debug messges
This commit is contained in:
parent
57df39086c
commit
a06844d7e9
@ -77,9 +77,11 @@ class PluginDetailAPITest(InvenTreeAPITestCase):
|
|||||||
fixtures = PluginConfig.objects.all()
|
fixtures = PluginConfig.objects.all()
|
||||||
|
|
||||||
# check if plugins were registered -> in some test setups the startup has no db access
|
# check if plugins were registered -> in some test setups the startup has no db access
|
||||||
|
print(f'[PLUGIN-TEST] currently {len(fixtures)} plugin entries found')
|
||||||
if not fixtures:
|
if not fixtures:
|
||||||
registry.reload_plugins()
|
registry.reload_plugins()
|
||||||
fixtures = PluginConfig.objects.all()
|
fixtures = PluginConfig.objects.all()
|
||||||
|
print(f'Reloaded plugins - now {len(fixtures)} entries found')
|
||||||
|
|
||||||
print([str(a) for a in fixtures])
|
print([str(a) for a in fixtures])
|
||||||
fixtures = fixtures[0:1]
|
fixtures = fixtures[0:1]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user