PYTHON-5324 - Fix Windows encryption test secrets path (#2289)

This commit is contained in:
Noah Stapp 2025-04-16 13:06:09 -04:00 committed by GitHub
parent 149fe390d4
commit f476d8bd97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -387,9 +387,9 @@ def handle_test_env() -> None:
if not DRIVERS_TOOLS:
raise RuntimeError("Missing DRIVERS_TOOLS")
csfle_dir = Path(f"{DRIVERS_TOOLS}/.evergreen/csfle")
run_command(f"bash {csfle_dir}/setup-secrets.sh", cwd=csfle_dir)
run_command(f"bash {csfle_dir.as_posix()}/setup-secrets.sh", cwd=csfle_dir)
load_config_from_file(csfle_dir / "secrets-export.sh")
run_command(f"bash {csfle_dir}/start-servers.sh")
run_command(f"bash {csfle_dir.as_posix()}/start-servers.sh")
if sub_test_name == "pyopenssl":
UV_ARGS.append("--extra ocsp")