Skip to content

Conversation

GitBib
Copy link
Owner

@GitBib GitBib commented Jun 2, 2024

Expanded the type check for 'mkvmerge_path' to now include list, os.PathLike, and None aside from string. Improved the interface of the 'file_path' setter of the MKVTrack to better handle unsupported files. Added a verification step when initializing an MKVFile to ensure that the file is a supported Matroska file. Updated the 'MKVFile' class and unit tests to reflect these changes.

Expanded the type check for 'mkvmerge_path' to now include list, os.PathLike, and None aside from string. Improved the interface of the 'file_path' setter of the MKVTrack to better handle unsupported files. Added a verification step when initializing an MKVFile to ensure that the file is a supported Matroska file. Updated the 'MKVFile' class and unit tests to reflect these changes.
@codecov-commenter
Copy link

codecov-commenter commented Jun 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 50.46%. Comparing base (27bc4c4) to head (0c6c5e8).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #10      +/-   ##
==========================================
+ Coverage   49.12%   50.46%   +1.33%     
==========================================
  Files          10       10              
  Lines         861      864       +3     
==========================================
+ Hits          423      436      +13     
+ Misses        438      428      -10     

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

A new test file, 'test_verify.py', has been added to test the 'verify_matroska' function of the MKVFile and MKVTrack classes. The unit tests assert whether the function results are correct when provided with valid and invalid input parameters. The 'test_open_files.py' file has also been updated to include additional test scenarios for these classes.
@GitBib GitBib merged commit a09d940 into master Jun 2, 2024
@GitBib GitBib deleted the added-valid-files branch June 2, 2024 22:23
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.

2 participants