Skip to content

Commit

Permalink
add load cache test case
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemia committed Apr 11, 2024
1 parent c203dd2 commit 7daa6cf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/ffmpeg_media_type/utils/tests/test_ffmpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ def test__get_muxer_info(snapshot: SnapshotAssertion) -> None:
assert snapshot == _get_muxer_info("6.0", "E", "mp4", "MP4 (MPEG-4 Part 14)")


def test_load_cache() -> None:
cache_file_6_1 = _cache_file("6.1")
cache_file_6_1_1 = _cache_file("6.1.1")

assert cache_file_6_1 == cache_file_6_1_1


def test_generate_cache() -> None:
cache_file = _cache_file("6.0")
if os.path.exists(cache_file):
Expand Down

0 comments on commit 7daa6cf

Please sign in to comment.