test(config): use UTF-8 for migration fixtures on Windows

This commit is contained in:
chengyongru authored and chengyongru committed 2026-10-10 01:33:02 +08:00
1 parent 432c044f8e
commit 2790521af8
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -466,7 +466,7 @@ async def test_migrated_openai_default_routes_and_allows_model_override(bind_tra
config_path.write_text(json.dumps({
"providers": {"openai": {"apiKey": "fixture", "apiType": legacy}},
"agents": {"defaults": {"model": "gpt-4o", "provider": "openai"}},
}))
}), encoding="utf-8")
config = load_config(config_path)
save_config(config, config_path)
config = load_config(config_path)