Files
offline-db/content/migrations/0015_alter_subtitle_file.py
d390b94d2f chore(tests): Add missing coverage for badge system (#344)
* 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>
2026-04-20 00:16:04 +03:00

22 lines
522 B
Python

# Generated by Django 6.0.4 on 2026-04-19 20:51
import core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("content", "0014_subscription_content_sub_user_id_930f7c_idx"),
]
operations = [
migrations.AlterField(
model_name="subtitle",
name="file",
field=models.FileField(
upload_to="subtitles/", validators=[core.validators.validate_mime_type]
),
),
]