2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-13 10:35:40 +00:00

fix default

This commit is contained in:
Matthias
2022-05-18 02:25:44 +02:00
parent 4ac7d9626c
commit bdf28b72df

View File

@ -461,7 +461,7 @@ class TestSettings(TestCase):
"""Patch the env to include the given dict"""
return mock.patch.dict(os.environ, envs)
def run_reload(self, envs):
def run_reload(self, envs={}):
from plugin import registry
with self.in_env_context(envs):