mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +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',
|
||||
]
|
||||
|
||||
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 self.in_env_context({'INVENTREE_PLUGIN_FILE': 'my_special_plugins.txt'}):
|
||||
|
Loading…
Reference in New Issue
Block a user