diff --git a/InvenTree/InvenTree/tests.py b/InvenTree/InvenTree/tests.py index f053a7c27b..bad14f8e00 100644 --- a/InvenTree/InvenTree/tests.py +++ b/InvenTree/InvenTree/tests.py @@ -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):