magpie/tests/services/platforms
pyr0ball e37be0935d feat: implement RedditCommentStrategy and register in platform registry
Adds RedditCommentStrategy to app/services/platforms/reddit_comment.py,
resolving thread_id via thread_url_override or _find_sticky title search,
falling back to reconstructed URL when client.comment() returns empty string.
Registers the strategy under "reddit_comment" in the platform _REGISTRY.
7 new tests confirm all execution paths: url override, title pattern lookup,
not-found error, missing-extra error, empty-URL reconstruction, dupe guard,
and registry presence. Full suite: 34/34 passing.
2026-04-27 12:00:08 -07:00
..
__init__.py feat: add PostingStrategy ABC and PostResult dataclass 2026-04-27 08:00:36 -07:00
test_base.py feat: add PostingStrategy ABC and PostResult dataclass 2026-04-27 08:00:36 -07:00
test_reddit_comment.py fix: address code review issues in reddit_comment thread detection helpers 2026-04-27 11:55:55 -07:00
test_reddit_comment_strategy.py feat: implement RedditCommentStrategy and register in platform registry 2026-04-27 12:00:08 -07:00
test_reddit_post_strategy.py feat: add RedditPostStrategy wrapping RedditClient.post() 2026-04-27 08:09:03 -07:00
test_registry.py feat: add platform registry with get_client() dispatch 2026-04-27 08:12:47 -07:00