Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/test_target_2/constants.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"""Package-level constants for test_target_2."""

DEFAULT_HELLO_TARGET: str = "world"
DEFAULT_FAREWELL: str = "goodbye"
8 changes: 8 additions & 0 deletions tests/test_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,11 @@ def test_constants_module_importable() -> None:
"""Test that constants module can be imported from package."""
# Import succeeds at module scope; this test verifies the object exists
assert hasattr(constants, "DEFAULT_HELLO_TARGET")


def test_default_farewell_value() -> None:
assert constants.DEFAULT_FAREWELL == "goodbye"


def test_default_farewell_type() -> None:
assert isinstance(constants.DEFAULT_FAREWELL, str)
Loading