Skip to content

Update stale 'four patterns' docstring in test#123

Merged
chris-colinsky merged 1 commit into
mainfrom
fix/stale-patterns-test-docstring
Jun 3, 2026
Merged

Update stale 'four patterns' docstring in test#123
chris-colinsky merged 1 commit into
mainfrom
fix/stale-patterns-test-docstring

Conversation

@chris-colinsky

Copy link
Copy Markdown
Member

Summary

The patterns 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 referenced "four patterns" / "four slugs" / "All four contents". The assertion itself is count-agnostic (uses patterns.list() length); only the prose needed updating.

Surfaced by CoPilot review on main.

Test plan

  • uv run pytest tests/unit/test_patterns_api.py -v — all 7 tests pass including the renamed one

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.
Copilot AI review requested due to automatic review settings June 3, 2026 05:31

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates stale prose in test_get_returns_distinct_content_per_pattern to reflect that the patterns catalog has grown beyond four entries, without changing test behavior.

Changes:

  • Adjusted the test docstring to remove “four patterns” wording and describe “multiple slugs” instead.
  • Updated the inline comment to say “All contents are unique.”

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chris-colinsky chris-colinsky merged commit 4df1781 into main Jun 3, 2026
6 checks passed
@chris-colinsky chris-colinsky deleted the fix/stale-patterns-test-docstring branch June 3, 2026 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants