Merge pull request #3044 from matmair/fix-test-cfg-file

[BUG] Remove repo name from assertation
This commit is contained in:
Oliver 2022-05-21 07:39:18 +10:00 committed by GitHub
commit 5a760e5ad3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -548,7 +548,7 @@ class TestSettings(TestCase):
# with env set
with self.in_env_context({'INVENTREE_CONFIG_FILE': 'my_special_conf.yaml'}):
self.assertIn('inventree/inventree/my_special_conf.yaml', config.get_config_file().lower())
self.assertIn('inventree/my_special_conf.yaml', config.get_config_file().lower())
def test_helpers_plugin_file(self):
# normal run - not configured