From b0823e4bf27aad228109a735d7ede31d9bb51700 Mon Sep 17 00:00:00 2001 From: Max Nanis Date: Mon, 31 Aug 2026 11:27:03 -0700 Subject: maybe key issue with new lines... --- test_utils/conftest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test_utils/conftest.py') diff --git a/test_utils/conftest.py b/test_utils/conftest.py index 0946209..af2ddfe 100644 --- a/test_utils/conftest.py +++ b/test_utils/conftest.py @@ -175,7 +175,8 @@ def git_key_path( print("GIT CREDS", settings.git_creds) assert settings.git_creds, "Must define key to download alternative models" fn = tmp_path_factory.mktemp("keys") / "git_creds" - fn.write_text(settings.git_creds, encoding="utf-8") + key_content = settings.git_creds.replace("\\n", "\n") + fn.write_text(key_content, encoding="utf-8") os.chmod(fn, stat.S_IRUSR | stat.S_IWUSR) yield Path(fn) -- cgit v1.2.3