MCPcopy Create free account
hub / github.com/RightNow-AI/rightnow-cli / test_get_config_empty

Method test_get_config_empty

tests/test_cache.py:109–112  ·  view source on GitHub ↗

Test getting config when file doesn't exist.

(self, cache_manager)

Source from the content-addressed store, hash-verified

107 assert config_path == cache_manager.config_dir / "config.json"
108
109 def test_get_config_empty(self, cache_manager):
110 """Test getting config when file doesn't exist."""
111 config = cache_manager.get_config()
112 assert config == {}
113
114 def test_get_config_with_data(self, cache_manager):
115 """Test getting config with existing data."""

Callers

nothing calls this directly

Calls 1

get_configMethod · 0.80

Tested by

no test coverage detected