Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Use private response fixtures for AI recipe transport checks

pulse-triage[bot]abd720420b15
diff --git a/scripts/tests/test_authentication_diagnostic_docs.py b/scripts/tests/test_authentication_diagnostic_docs.py
index 1d6444ae29..9c7a2d86a2 100644
--- a/scripts/tests/test_authentication_diagnostic_docs.py
+++ b/scripts/tests/test_authentication_diagnostic_docs.py
@@ -17,7 +17,7 @@ import threading
import time
import unittest
-from test_api_auth_docs import (ROOT, TEST_TOKEN, exercise_curl, recording_server,
+from test_api_auth_docs import (ROOT, TEST_TOKEN, exercise_curl,
private_recording_server, request_helper)
@@ -133,7 +133,7 @@ class AuthenticationDiagnosticDocsTest(unittest.TestCase):
def test_ai_recipes_send_only_the_intended_method_path_and_body(self):
recipes = blocks("AI_AUTONOMY")
self.assertEqual(len(recipes), len(EXPECTED_AI))
- with recording_server() as (port, requests):
+ with private_recording_server() as (port, requests):
for key, value in (("X-API-Token", TEST_TOKEN), ("Authorization", "Bearer " + TEST_TOKEN)):
for recipe, (method, path, body) in zip(recipes, EXPECTED_AI):
with self.subTest(header=key, method=method, path=path), tempfile.TemporaryDirectory() as temporary: