Skip to content

Commit a9d9309

Browse files
committed
feedback
1 parent e837351 commit a9d9309

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/utils/testutils_lc.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def _download_extensions() -> str:
158158
folder = tempfile.gettempdir()
159159
with urlopen(_EXTENSION_BASE_ZIP) as zipresp:
160160
with ZipFile(BytesIO(zipresp.read())) as zfile:
161-
zfile.extractall(folder)
161+
zfile.extractall(tempfile.gettempdir())
162162

163163
return folder
164164

@@ -184,13 +184,13 @@ def spawn_container(self,
184184

185185
base_ext_container_path = (
186186
f"/azure-functions-host/workers/python/{self._py_version}/"
187-
"LINUX/X64/azure/functions/extension/base"
187+
"LINUX/X64/azurefunctions/extensions/base"
188188
)
189189

190190
base_ext_local_path = (
191-
f'{ext_folder}\\azure-functions-python'
192-
f'-extensions-dev\\azure-functions-extension-base'
193-
f'\\azure\\functions\\extension\\base'
191+
f'{ext_folder}/azure-functions-python'
192+
'-extensions-dev/azurefunctions-extensions-base'
193+
'/azurefunctions/extensions/base'
194194
)
195195
run_cmd = []
196196
run_cmd.extend([self._docker_cmd, "run", "-p", "0:80", "-d"])

0 commit comments

Comments
 (0)