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

Function test_unsupported_configure

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

Source from the content-addressed store, hash-verified

175 assert "unrecognized switch --xyz" in str(ex.value)
176
177def test_unsupported_configure(cli):
178 with pytest.raises(ValueError) as ex:
179 cli(["--connect", "127.0.0.1:8888", "--configure-xyz", "123", "spam.py"])
180
181 assert "unknown property 'xyz'" in str(ex.value)
182
183def test_unsupported_configure_from_environment(cli):
184 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…