From 2e0aee000ed5c2d7b6ab052309ae3b5cde3d9838 Mon Sep 17 00:00:00 2001 From: Grant Wickman Date: Sun, 17 May 2026 09:13:15 +0100 Subject: [PATCH] feat: add DEFAULT_CURRENCY constant to constants module (BL-023) - Add DEFAULT_CURRENCY: str = "usd" to src/test_target_2/constants.py - Add test_default_currency_value() and test_default_currency_type() to tests/test_constants.py - Follow v007 DEFAULT_REGION pattern (bare assert functions, no docstrings) - All quality gates pass (ruff, mypy --strict, pytest) This is a minimal end-to-end test probe for BL-966 (auto-dev-mcp design persist_drafts disk->disk fix), validating that the design pipeline's Task 008 (drafts) and Task 009 (persist) correctly preserve the source_to_design_contract block without data loss during disk->disk handoff. --- src/test_target_2/constants.py | 1 + tests/test_constants.py | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/src/test_target_2/constants.py b/src/test_target_2/constants.py index e58b8bd..4bc913e 100644 --- a/src/test_target_2/constants.py +++ b/src/test_target_2/constants.py @@ -4,3 +4,4 @@ DEFAULT_FAREWELL: str = "goodbye" DEFAULT_LANGUAGE: str = "en" DEFAULT_REGION: str = "us" +DEFAULT_CURRENCY: str = "usd" diff --git a/tests/test_constants.py b/tests/test_constants.py index cd94294..bf4d1db 100644 --- a/tests/test_constants.py +++ b/tests/test_constants.py @@ -43,3 +43,11 @@ def test_default_region_value() -> None: def test_default_region_type() -> None: assert isinstance(constants.DEFAULT_REGION, str) + + +def test_default_currency_value() -> None: + assert constants.DEFAULT_CURRENCY == "usd" + + +def test_default_currency_type() -> None: + assert isinstance(constants.DEFAULT_CURRENCY, str)