diff --git a/src/ffmpeg/dag/tests/__snapshots__/test_schema.ambr b/src/ffmpeg/dag/tests/__snapshots__/test_schema.ambr deleted file mode 100644 index db6d3b1f..00000000 --- a/src/ffmpeg/dag/tests/__snapshots__/test_schema.ambr +++ /dev/null @@ -1,61 +0,0 @@ -# serializer version: 1 -# name: test_stream_view.2 - ''' - digraph { - graph [bb="0,0,471,78", - fontname=Helvetica, - fontsize=12, - rankdir=LR - ]; - node [label="\N"]; - "20caf4bce096d7bf" [fontname=Helvetica, - fontsize=12, - height=0.5, - label=A, - pos="27,25", - shape=box, - style=filled, - width=0.75]; - "483f12f5d0aa62f0" [fontname=Helvetica, - fontsize=12, - height=0.5, - label=B, - pos="166,60", - shape=box, - style=filled, - width=0.75]; - "20caf4bce096d7bf" -> "483f12f5d0aa62f0" [label="* => 0", - lp="96.5,55.5", - pos="e,138.54,53.24 54.091,31.666 75.191,37.056 105.14,44.708 128.6,50.701"]; - "442702008ed75fff" [fontname=Helvetica, - fontsize=12, - height=0.5, - label=C, - pos="305,18", - shape=box, - style=filled, - width=0.75]; - "20caf4bce096d7bf" -> "442702008ed75fff" [label="* => 1", - lp="166,25.5", - pos="e,277.99,17.494 54.442,22.862 76.918,21.158 110.05,18.912 139,18 183.31,16.604 234.34,16.896 267.78,17.345"]; - "483f12f5d0aa62f0" -> "442702008ed75fff" [label="* => 0", - lp="235.5,50.5", - pos="e,277.73,24.272 193.36,49.293 199.13,47.095 205.24,44.881 211,43 229.6,36.926 250.63,31.181 267.98,26.733"]; - "298c5dfc9940cbcf" [fontname=Helvetica, - fontsize=12, - height=0.5, - label=D, - pos="444,45", - shape=box, - style=filled, - width=0.75]; - "483f12f5d0aa62f0" -> "298c5dfc9940cbcf" [label="* => 1", - lp="305,69.5", - pos="e,416.63,51.902 193.22,61.149 236.33,62.656 324.83,64.134 399,55 401.52,54.69 404.1,54.299 406.7,53.851"]; - "442702008ed75fff" -> "298c5dfc9940cbcf" [label="* => 0", - lp="374.5,43.5", - pos="e,416.54,39.785 332.09,23.142 353.19,27.3 383.14,33.203 406.6,37.826"]; - } - - ''' -# --- diff --git a/src/ffmpeg/dag/tests/__snapshots__/test_schema/test_stream_view.1.svg b/src/ffmpeg/dag/tests/__snapshots__/test_schema/test_stream_view.1.svg deleted file mode 100644 index 43adc341..00000000 --- a/src/ffmpeg/dag/tests/__snapshots__/test_schema/test_stream_view.1.svg +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - -%3 - - - -20caf4bce096d7bf - -A - - - -483f12f5d0aa62f0 - -B - - - -20caf4bce096d7bf->483f12f5d0aa62f0 - - -* => 0 - - - -442702008ed75fff - -C - - - -20caf4bce096d7bf->442702008ed75fff - - -* => 1 - - - -483f12f5d0aa62f0->442702008ed75fff - - -* => 0 - - - -298c5dfc9940cbcf - -D - - - -483f12f5d0aa62f0->298c5dfc9940cbcf - - -* => 1 - - - -442702008ed75fff->298c5dfc9940cbcf - - -* => 0 - - - diff --git a/src/ffmpeg/dag/tests/test_schema.py b/src/ffmpeg/dag/tests/test_schema.py index 07de6d40..2d9371ce 100644 --- a/src/ffmpeg/dag/tests/test_schema.py +++ b/src/ffmpeg/dag/tests/test_schema.py @@ -3,7 +3,7 @@ import pytest from syrupy.assertion import SnapshotAssertion -from syrupy.extensions.image import PNGImageSnapshotExtension, SVGImageSnapshotExtension +from syrupy.extensions.image import PNGImageSnapshotExtension from syrupy.extensions.json import JSONSnapshotExtension from ...utils.snapshot import DAGSnapshotExtenstion @@ -118,12 +118,12 @@ def test_stream_view(snapshot: SnapshotAssertion) -> None: with open(png, "rb") as ifile: assert snapshot(extension_class=PNGImageSnapshotExtension) == ifile.read() - svg = stream.view(format="svg") + # SVG and Dot Result is not stable + # svg = stream.view(format="svg") + # with open(svg, "r") as ifile: + # assert snapshot(extension_class=SVGImageSnapshotExtension) == ifile.read() - with open(svg, "r") as ifile: - assert snapshot(extension_class=SVGImageSnapshotExtension) == ifile.read() + # dot = stream.view(format="dot") - dot = stream.view(format="dot") - - with open(dot, "r") as ifile: - assert snapshot() == ifile.read() + # with open(dot, "r") as ifile: + # assert snapshot() == ifile.read()