Skip to content

Add attachment management to MKVFile and enhance tests #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

GitBib
Copy link
Owner

@GitBib GitBib commented Mar 28, 2025

Introduce attachment handling in MKVFile with methods to add, remove, and manipulate attachments. Add corresponding tests for attachment workflows and preservation. Cleanup dependencies and adjust version constraints in related configuration files.

Introduce attachment handling in MKVFile with methods to add, remove, and manipulate attachments. Add corresponding tests for attachment workflows and preservation. Cleanup dependencies and adjust version constraints in related configuration files.
Copy link

codecov bot commented Mar 28, 2025

Codecov Report

Attention: Patch coverage is 91.81818% with 9 lines in your changes missing coverage. Please review.

Project coverage is 77.68%. Comparing base (502bd1a) to head (3dd3836).

Files with missing lines Patch % Lines
pymkv/MKVFile.py 86.36% 9 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master      #75       +/-   ##
===========================================
+ Coverage   66.87%   77.68%   +10.80%     
===========================================
  Files          10       10               
  Lines         951     1026       +75     
===========================================
+ Hits          636      797      +161     
+ Misses        315      229       -86     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

GitBib added 4 commits March 29, 2025 04:36
Introduce tests for MKVFile methods including chapter, tag, link, and split operations. Add tests for new MKVAttachment properties: `source_id` and `source_file`. These enhancements improve test coverage and ensure functionality integrity.
Added `from __future__ import annotations` to improve forward compatibility with type hints. This ensures the tests remain compatible with newer Python versions.
The `strict` argument was removed from `zip` calls across multiple functions, ensuring compatibility with Python versions that do not support it. Additionally, redundant comments in test cases were removed for cleaner and more focused code.
Ensure the attach_once property is correctly set and modified. This test covers True, False, and None states to verify proper functionality.
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