From e397c15d96b077c4fc31ec412302ff8c9db3a8e7 Mon Sep 17 00:00:00 2001 From: aitbc1 Date: Sat, 28 Mar 2026 20:02:58 +0100 Subject: [PATCH] Add missing json import to API performance test script --- .gitea/workflows/api-endpoint-tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/api-endpoint-tests.yml b/.gitea/workflows/api-endpoint-tests.yml index c52cddd3..27d6765a 100644 --- a/.gitea/workflows/api-endpoint-tests.yml +++ b/.gitea/workflows/api-endpoint-tests.yml @@ -444,6 +444,7 @@ jobs: echo 'import requests' > test_api_performance.py echo 'import time' >> test_api_performance.py echo 'import statistics' >> test_api_performance.py + echo 'import json' >> test_api_performance.py echo '' >> test_api_performance.py echo 'def measure_response_time(url, timeout=5):' >> test_api_performance.py echo ' try:' >> test_api_performance.py