MCPcopy Index your code
hub / github.com/github/spec-kit / test_resolve_content_nonexistent

Method test_resolve_content_nonexistent

tests/test_presets.py:5532–5536  ·  view source on GitHub ↗

Test resolve_content returns None for nonexistent template.

(self, project_dir)

Source from the content-addressed store, hash-verified

5530 assert "Core Spec Template" in content
5531
5532 def test_resolve_content_nonexistent(self, project_dir):
5533 """Test resolve_content returns None for nonexistent template."""
5534 resolver = PresetResolver(project_dir)
5535 content = resolver.resolve_content("nonexistent")
5536 assert content is None
5537
5538 def test_resolve_content_replace_strategy(self, project_dir, temp_dir, valid_pack_data):
5539 """Test resolve_content with default replace strategy."""

Callers

nothing calls this directly

Calls 2

resolve_contentMethod · 0.95
PresetResolverClass · 0.90

Tested by

no test coverage detected