From d44dd5902b33f02cf04c1e06200ba0819288354a Mon Sep 17 00:00:00 2001 From: Grant Wickman Date: Sun, 17 May 2026 17:45:54 +0100 Subject: [PATCH] feat: add DEFAULT_TIMEZONE constant to constants module (BL-024) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Define DEFAULT_TIMEZONE: str = "utc" in src/test_target_2/constants.py - Add test_default_timezone_value to verify constant value equals "utc" - Add test_default_timezone_type to verify constant is of type str - Follows established pattern from v004–v007 constant additions --- 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 4bc913e..ef1396c 100644 --- a/src/test_target_2/constants.py +++ b/src/test_target_2/constants.py @@ -5,3 +5,4 @@ DEFAULT_LANGUAGE: str = "en" DEFAULT_REGION: str = "us" DEFAULT_CURRENCY: str = "usd" +DEFAULT_TIMEZONE: str = "utc" diff --git a/tests/test_constants.py b/tests/test_constants.py index bf4d1db..99afbe2 100644 --- a/tests/test_constants.py +++ b/tests/test_constants.py @@ -51,3 +51,11 @@ def test_default_currency_value() -> None: def test_default_currency_type() -> None: assert isinstance(constants.DEFAULT_CURRENCY, str) + + +def test_default_timezone_value() -> None: + assert constants.DEFAULT_TIMEZONE == "utc" + + +def test_default_timezone_type() -> None: + assert isinstance(constants.DEFAULT_TIMEZONE, str)