MCPcopy Create free account
hub / github.com/IBM/mcp-cli / invalid_config

Function invalid_config

tests/config/test_cli_options.py:49–53  ·  view source on GitHub ↗

Create a temporary config file with invalid JSON.

(tmp_path)

Source from the content-addressed store, hash-verified

47
48@pytest.fixture
49def invalid_config(tmp_path):
50 """Create a temporary config file with invalid JSON."""
51 config_file = tmp_path / "config_invalid.json"
52 config_file.write_text("this is not json")
53 return config_file
54
55
56def test_load_config_valid(valid_config):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected