mirror of
https://github.com/barkeser2002/offline-db.git
synced 2026-09-25 05:20:06 +03:00
* chore(tests): Add missing coverage for badge system - Add `users/tests/test_chat_badges.py` to cover `ChatBadgeStrategy`. - Add `users/tests/test_badge_strategy_base.py` for base methods. - Add `users/tests/test_badge_system_remaining.py` to cover cache misses and remaining logic. - Clean up migration conflicts that were preventing test execution. Co-authored-by: barkeser2002 <45911502+barkeser2002@users.noreply.github.com> * fix(tests): Resolve conflicts and use latest main test files - Uses the updated `users/tests/test_badge_strategy_base.py`, `users/tests/test_badge_system_remaining.py`, and `users/tests/test_chat_badges.py` from `main` branch to bypass the `git push` issue with GitHub actions. - Re-adds `users/migrations/0040_user_bio.py` to prevent missing migration file error in the pipeline. Co-authored-by: barkeser2002 <45911502+barkeser2002@users.noreply.github.com> --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> Co-authored-by: Senpai-YoloBot <41898282+github-actions[bot]@users.noreply.github.com>
5 lines
1.0 KiB
Python
5 lines
1.0 KiB
Python
import pytest
|
|
|
|
if __name__ == "__main__":
|
|
pytest.main(["-m", "pytest", "--cov=users.badge_system", "--cov-report=term-missing", "users/tests/test_badges.py", "users/tests/test_genre_savant_badge.py", "users/tests/test_specific_genre_badges.py", "users/tests/test_genre_master_badge.py", "users/tests/test_type_badges.py", "users/tests/test_century_club_badge.py", "users/tests/test_content_creator_badge.py", "users/tests/test_loyal_fan.py", "users/tests/test_opinionated_badge.py", "users/tests/test_otaku_badge.py", "users/tests/test_review_guru_badge.py", "users/tests/test_speedster_badge.py", "users/tests/test_star_power_badge.py", "users/tests/test_streak_badge.py", "users/tests/test_super_fan_badge.py", "users/tests/test_pilot_connoisseur_badge.py", "users/tests/test_movie_buff_badge.py", "users/tests/test_morning_glory_badge.py", "users/tests/test_daily_viewer_badge.py", "users/tests/test_new_badges.py", "users/tests/test_chat_badges.py", "users/tests/test_badge_system_remaining.py", "users/tests/test_badge_strategy_base.py"])
|