From 9588ce4e0d11e03494da107be786549cefeb015d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 29 Mar 2026 13:51:38 +0000 Subject: [PATCH 1/3] Initial plan From de4d1b2b343f5af763c30b988924a51f6d5beffa Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 29 Mar 2026 13:52:28 +0000 Subject: [PATCH 2/3] style: apply black formatting to test_config.py Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/a0201223-b428-496d-90c7-cd268fee7774 Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com> --- backend/app/tests/test_config.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/backend/app/tests/test_config.py b/backend/app/tests/test_config.py index ff0bd64..3a1c09c 100644 --- a/backend/app/tests/test_config.py +++ b/backend/app/tests/test_config.py @@ -16,9 +16,7 @@ class TestBackendCorsOriginsValidator: def test_comma_separated_string(self): """Comma-separated origins are split into a list.""" - settings = Settings( - BACKEND_CORS_ORIGINS="http://localhost:3000,http://localhost:5173" - ) + settings = Settings(BACKEND_CORS_ORIGINS="http://localhost:3000,http://localhost:5173") assert settings.BACKEND_CORS_ORIGINS == [ "http://localhost:3000", "http://localhost:5173", @@ -53,9 +51,7 @@ class TestBackendCorsOriginsValidator: def test_comma_separated_with_spaces(self): """Extra whitespace around origins is stripped.""" - settings = Settings( - BACKEND_CORS_ORIGINS=" http://a.example.com , http://b.example.com " - ) + settings = Settings(BACKEND_CORS_ORIGINS=" http://a.example.com , http://b.example.com ") assert settings.BACKEND_CORS_ORIGINS == [ "http://a.example.com", "http://b.example.com", From 8e6ab244adeee946252196bc0ce2317248bab245 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 29 Mar 2026 15:15:46 +0000 Subject: [PATCH 3/3] fix: remove unused pytest import from test_config.py Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/63e79da9-2002-429a-b696-7147dc579668 Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com> --- backend/app/tests/test_config.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/app/tests/test_config.py b/backend/app/tests/test_config.py index 3a1c09c..ef2e62f 100644 --- a/backend/app/tests/test_config.py +++ b/backend/app/tests/test_config.py @@ -6,8 +6,6 @@ previously caused a JSONDecodeError in pydantic_settings v2 before validators could run (see: pydantic_settings sources/providers/env.py decode_complex_value). """ -import pytest - from app.core.config import Settings