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

Function test_address_required

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

Source from the content-addressed store, hash-verified

188 assert "unknown property 'xyz'" in str(ex.value)
189
190def test_address_required(cli):
191 with pytest.raises(ValueError) as ex:
192 cli(["-m", "spam"])
193
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:

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…