(cli)
| 162 | assert options["config"]["subProcess"] == value |
| 163 | |
| 164 | def test_unsupported_switch(cli): |
| 165 | with pytest.raises(ValueError) as ex: |
| 166 | cli(["--listen", "8888", "--xyz", "123", "spam.py"]) |
| 167 | |
| 168 | assert "unrecognized switch --xyz" in str(ex.value) |
| 169 | |
| 170 | def test_unsupported_switch_from_environment(cli): |
| 171 | with pytest.raises(ValueError) as ex: |
nothing calls this directly
no test coverage detected
searching dependent graphs…