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

Function test_long_command

tests/test_platform.py:34–40  ·  view source on GitHub ↗

[Windows Only] Ensures that a command string too large to be handled is translated to the correct exception for error handling.

()

Source from the content-addressed store, hash-verified

32
33
34def test_long_command():
35 """[Windows Only] Ensures that a command string too large to be handled
36 is translated to the correct exception for error handling.
37 """
38 if platform.system() == "Windows":
39 with pytest.raises(CommandTooLong):
40 invoke_command(["x" * 2**15])

Callers

nothing calls this directly

Calls 1

invoke_commandFunction · 0.90

Tested by

no test coverage detected