MCPcopy Create free account
hub / github.com/microsoft/debugpy / test_missing_target

Function test_missing_target

tests/debugpy/server/test_cli.py:196–200  ·  view source on GitHub ↗
(cli)

Source from the content-addressed store, hash-verified

194 assert "either --listen or --connect is required" in str(ex.value)
195
196def test_missing_target(cli):
197 with pytest.raises(ValueError) as ex:
198 cli(["--listen", "8888"])
199
200 assert "missing target" in str(ex.value)
201
202def test_duplicate_switch(cli):
203 with pytest.raises(ValueError) as ex:

Callers

nothing calls this directly

Calls 1

cliFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…