Skip to content

Commit 4df1781

Browse files
Update stale 'four patterns' docstring in test (#123)
The pattern catalog grew from 4 to 7 entries during the v0.11.0 cycle (state-migration-on-resume, caller-supplied-trace-identifiers, observer-state-reconciliation all landed). The test_get_returns_distinct_content_per_pattern docstring + comment still referred to 'four patterns' / 'four slugs' / 'All four contents'. The assertion is count-agnostic (uses patterns.list() length); only the prose needs updating. Surfaced by CoPilot review on main.
1 parent 25c6aaa commit 4df1781

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/unit/test_patterns_api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ def test_get_unknown_pattern_raises_key_error_with_known_names() -> None:
7272

7373

7474
def test_get_returns_distinct_content_per_pattern() -> None:
75-
"""Sanity check: the four patterns aren't accidentally aliasing
76-
to the same payload (e.g., a generator bug that wrote one file's
77-
content under all four slugs).
75+
"""Sanity check: the patterns aren't accidentally aliasing to
76+
the same payload (e.g., a generator bug that wrote one file's
77+
content under multiple slugs).
7878
"""
7979
contents = {name: patterns.get(name) for name in patterns.list()}
80-
# All four contents are unique.
80+
# All contents are unique.
8181
assert len(set(contents.values())) == len(contents)
8282

8383

0 commit comments

Comments
 (0)