Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemia committed Jan 3, 2025
1 parent 1ac6750 commit 0a12112
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/ffmpeg/tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@
from ..streams.video import VideoStream


def test_output_node(snapshot: SnapshotAssertion) -> None:
input1 = input("input1")

value = {"str": "x", "int": 1, "float": 0.1}
# due to https://github.com/python/mypy/issues/11583
out = input1.output(filename="out.mp4", **value) # type: ignore[arg-type]
assert snapshot(extension_class=JSONSnapshotExtension) == (out.compile())

out = input1.output(filename="out.mp4", extra_options=value)
assert snapshot(extension_class=JSONSnapshotExtension) == (out.compile())


def test_filter_node(snapshot: SnapshotAssertion) -> None:
input1 = input("input1")
input2 = input("input2")
Expand Down

0 comments on commit 0a12112

Please sign in to comment.