File tree 3 files changed +5
-4
lines changed 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -673,6 +673,7 @@ async def test_dispatcher_load_azfunc_in_init(self):
673
673
async def test_dispatcher_load_modules_dedicated_app (self ):
674
674
"""Test modules are loaded in dedicated apps
675
675
"""
676
+
676
677
os .environ ["PYTHON_ISOLATE_WORKER_DEPENDENCIES" ] = "1"
677
678
678
679
# Dedicated Apps where placeholder mode is not set
Original file line number Diff line number Diff line change @@ -19,13 +19,13 @@ def get_script_dir(cls):
19
19
20
20
@classmethod
21
21
def setUpClass (cls ):
22
- os .environ ["ENABLE_EXTENSION " ] = "0 "
22
+ os .environ ["DISABLE_EXTENSIONS " ] = "1 "
23
23
super ().setUpClass ()
24
24
25
25
@classmethod
26
26
def tearDownClass (cls ):
27
27
# Remove the WEBSITE_HOSTNAME environment variable
28
- os .environ .pop ('ENABLE_EXTENSION ' )
28
+ os .environ .pop ('DISABLE_EXTENSIONS ' )
29
29
super ().tearDownClass ()
30
30
31
31
def test_return_str (self ):
Original file line number Diff line number Diff line change @@ -1052,12 +1052,12 @@ def _setup_func_app(app_root):
1052
1052
with open (host_json , 'w' ) as f :
1053
1053
f .write (HOST_JSON_TEMPLATE )
1054
1054
1055
- if not os .environ .get ("ENABLE_EXTENSION " ):
1055
+ if not os .environ .get ("DISABLE_EXTENSIONS " ):
1056
1056
if not os .path .isfile (extensions_csproj_file ):
1057
1057
with open (extensions_csproj_file , 'w' ) as f :
1058
1058
f .write (EXTENSION_CSPROJ_TEMPLATE )
1059
1059
1060
- _symlink_dir (EXTENSIONS_PATH , extensions )
1060
+ _symlink_dir (EXTENSIONS_PATH , extensions )
1061
1061
1062
1062
1063
1063
def _teardown_func_app (app_root ):
You can’t perform that action at this time.
0 commit comments