Skip to content

Commit 22264c3

Browse files
author
Victoria Hall
committed
fix unit tests
1 parent 033c480 commit 22264c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unittests/test_app_setting_manager.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
PYTHON_THREADPOOL_THREAD_COUNT,
1313
)
1414
from azure_functions_worker.utils.app_setting_manager import get_python_appsetting_state
15+
from azure_functions_worker.utils.config_manager import clear_config
1516

1617
SysVersionInfo = col.namedtuple("VersionInfo", ["major", "minor", "micro",
1718
"releaselevel", "serial"])
@@ -71,6 +72,7 @@ def setUpClass(cls):
7172
cls._patch_environ = patch.dict('os.environ', os_environ)
7273
cls._patch_environ.start()
7374
super().setUpClass()
75+
clear_config()
7476

7577
@classmethod
7678
def tearDownClass(cls):

0 commit comments

Comments
 (0)