Skip to content

Reorganize tests a bit#130

Merged
mergify[bot] merged 20 commits into
masterfrom
tests
Apr 6, 2026
Merged

Reorganize tests a bit#130
mergify[bot] merged 20 commits into
masterfrom
tests

Conversation

@Kicer86
Copy link
Copy Markdown
Owner

@Kicer86 Kicer86 commented Apr 6, 2026

No description provided.

Kicer86 added 20 commits April 5, 2026 08:17
Both tests previously used 13 video+subtitle pairs. The batch behavior
is adequately tested with 3 files, cutting ffmpeg overhead significantly.
Remove unused default_video_set and get_default_media_set_regex.
Exercises the full CLI path: UtilitiesTool.setup_parser → analyze → perform.
Verifies that scene directories are created and output format is respected.
Two CLI tests exercise the full MeltTool.setup_parser → analyze → perform
path: a simple same-length duplicate merge and a dry-run verification.
The old test only verified that mkvextract cannot extract WebVTT tracks.
The new test runs language_fix via CLI on a video with WebVTT subtitles
and verifies the tool handles the unextractable tracks without crashing.
Test CD-pattern regex matching, case insensitivity, separators (space,
hyphen, dot), directory-based patterns, sequence validation, gap
detection, ignore-warnings filtering, rmvb→mkv conversion, and part
sorting. All tests mock collect_video_files — no ffmpeg needed.
Test subtitle sorting with priorities, None language handling, and
unknown languages. Test directory matcher with simple matches, multiple
subtitles per video, unmatched files, and longest-prefix matching.
@Kicer86 Kicer86 marked this pull request as ready for review April 6, 2026 09:32
@mergify mergify Bot merged commit a5f1412 into master Apr 6, 2026
7 checks passed
@mergify mergify Bot deleted the tests branch April 6, 2026 09:41
@Kicer86 Kicer86 restored the tests branch April 7, 2026 19:23
@Kicer86 Kicer86 deleted the tests branch April 8, 2026 19:48
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.

1 participant