MCPcopy Create free account
hub / github.com/Breakthrough/PySceneDetect / test_invalid_path

Function test_invalid_path

tests/test_video_stream.py:343–346  ·  view source on GitHub ↗

Ensure correct exception is thrown if the path does not exist.

(vs_type: ty.Callable[..., VideoStream])

Source from the content-addressed store, hash-verified

341
342
343def test_invalid_path(vs_type: ty.Callable[..., VideoStream]):
344 """Ensure correct exception is thrown if the path does not exist."""
345 with pytest.raises(OSError):
346 _ = vs_type("this_path_should_not_exist.mp4")
347
348
349def test_framerate_legacy_alias(vs_type: ty.Callable[..., VideoStream]):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected