From 0910b59cc0be508e8a02de6f8c078ab17a9fb671 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Mon, 24 Nov 2025 16:36:30 +0000 Subject: [PATCH] Mark testing API key strings as not secrets --- tests/integration/test_wizard.py | 4 ++-- tests/unit/wizard/test_wizard.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/integration/test_wizard.py b/tests/integration/test_wizard.py index 06ebc03..977f603 100644 --- a/tests/integration/test_wizard.py +++ b/tests/integration/test_wizard.py @@ -410,7 +410,7 @@ async def test_assemble_config_for_custom_endpoint(self, temp_graph_dir): graph_path=str(temp_graph_dir), provider_type="custom", custom_endpoint="https://custom-llm.example.com/v1", - custom_api_key="custom-key-456", + custom_api_key="custom-key-456", # notsecret custom_model="custom-model-7b", ) @@ -767,7 +767,7 @@ async def test_llm_connection_max_retries_reached(self, temp_graph_dir): graph_path=str(temp_graph_dir), provider_type="custom", custom_endpoint="https://custom.ai/v1", - custom_api_key="custom-key", + custom_api_key="custom-key", # notsecret custom_model="custom-model", ) diff --git a/tests/unit/wizard/test_wizard.py b/tests/unit/wizard/test_wizard.py index 3114d6d..2b64aa3 100644 --- a/tests/unit/wizard/test_wizard.py +++ b/tests/unit/wizard/test_wizard.py @@ -395,7 +395,7 @@ async def test_prompts_for_endpoint_key_and_model(self): # Verify state was updated assert state.custom_endpoint == "https://custom.ai/v1" - assert state.custom_api_key == "custom-key-456" + assert state.custom_api_key == "custom-key-456" # notsecret assert state.custom_model == "custom-model-7b" @pytest.mark.asyncio @@ -1092,7 +1092,7 @@ async def test_abort_on_connection_failure(self, tmp_path): graph_path=str(graph_dir), provider_type="custom", custom_endpoint="https://custom.ai/v1", - custom_api_key="custom-key", + custom_api_key="custom-key", # notsecret custom_model="custom-model", )