![google-labs-jules[bot]](/assets/img/avatar_default.png)
Barış Keserandgoogle-labs-jules[bot]
e926d77952
test(users): increase badge system coverage to 99% (#359)
- Add comprehensive tests to `users/tests/test_badge_system_remaining.py` to cover all code branches in `ReviewBadgeStrategy`, `WatchTimeBadgeStrategy`, `AccountBadgeStrategy`, `CommunityBadgeStrategy`, `ConsistencyBadgeStrategy`, `ConsumptionBadgeStrategy`, `CompletionBadgeStrategy`, `GenreBadgeStrategy`, and `SpecificGenreBadgeStrategy`.
- Address cache hits, cache misses, and badge award validations.
- Fix broken URL reversal in `users/tests/test_badges_api.py` (`user-badge-list` -> `user-badges-list`).
- Update assertion logic in `users/tests/test_badges_api.py` to parse paginated `results` correctly.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2026-07-16 20:51:09 +00:00
..
2026-01-19 10:36:54 +00:00
2026-01-23 18:07:57 +00:00
2026-03-10 21:44:12 +00:00
2026-01-22 11:18:08 +00:00
2026-04-19 21:07:24 +00:00
2026-04-20 00:04:15 +03:00
2026-07-16 20:51:09 +00:00
2026-07-16 20:51:09 +00:00
2026-04-20 00:15:47 +03:00
2026-04-19 21:07:24 +00:00
2026-04-20 00:04:15 +03:00
2026-04-20 00:15:47 +03:00
2026-04-19 21:07:24 +00:00
2026-04-19 21:07:24 +00:00
2026-04-19 21:07:24 +00:00
2026-03-19 11:40:24 +00:00
2026-04-19 21:07:24 +00:00
2026-01-19 10:36:54 +00:00
2026-04-19 21:07:24 +00:00
2026-06-06 20:52:17 +00:00
2026-06-06 20:52:17 +00:00
2026-03-12 13:42:21 +00:00
2026-04-19 21:07:24 +00:00
2026-04-19 21:07:24 +00:00
2026-04-19 21:07:24 +00:00
2026-03-19 05:41:44 +00:00
2026-04-19 21:07:24 +00:00
2026-04-19 21:07:24 +00:00
2026-03-19 13:36:47 +00:00
2026-01-22 07:33:15 +00:00
2026-05-10 20:49:37 +00:00
2026-01-23 12:23:22 +00:00
2026-04-19 21:07:24 +00:00
2026-04-19 21:07:24 +00:00
2026-04-19 21:07:24 +00:00
2026-04-19 21:07:24 +00:00
2026-01-23 11:27:42 +00:00
2026-03-14 05:12:31 +00:00
2026-01-23 15:28:14 +00:00
2026-01-20 08:11:36 +00:00