mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 20:46:47 +00:00
Fix unit test
This commit is contained in:
parent
3b53260d75
commit
e57087de63
@ -539,7 +539,7 @@ class TestSettings(TestCase):
|
|||||||
'inventree/dev/plugins.txt',
|
'inventree/dev/plugins.txt',
|
||||||
]
|
]
|
||||||
|
|
||||||
self.assertIn(config.get_plugin_file().lower(), valid)
|
self.assertTrue(any([opt in config.get_plugin_file().lower() for opt in valid]))
|
||||||
|
|
||||||
# with env set
|
# with env set
|
||||||
with self.in_env_context({'INVENTREE_PLUGIN_FILE': 'my_special_plugins.txt'}):
|
with self.in_env_context({'INVENTREE_PLUGIN_FILE': 'my_special_plugins.txt'}):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user