2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 20:16:44 +00:00

fix env name

This commit is contained in:
Matthias 2022-05-18 02:30:07 +02:00
parent bdf28b72df
commit 9a0189b6bb
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -545,7 +545,7 @@ class TestSettings(TestCase):
self.assertEqual(config.get_setting(TEST_ENV_NAME, None, '123!'), '123!') self.assertEqual(config.get_setting(TEST_ENV_NAME, None, '123!'), '123!')
# with env set # with env set
with self.in_env_context({'TEST_ENV_NAME': '321'}): with self.in_env_context({TEST_ENV_NAME: '321'}):
self.assertEqual(config.get_setting(TEST_ENV_NAME, None), '321') self.assertEqual(config.get_setting(TEST_ENV_NAME, None), '321')