MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / test_invalid_path

Method test_invalid_path

tests/test_finetune.py:158–162  ·  view source on GitHub ↗

Test invalid adapter path.

(self)

Source from the content-addressed store, hash-verified

156 """Test LoRA adapter validation."""
157
158 def test_invalid_path(self):
159 """Test invalid adapter path."""
160 valid, msg = validate_lora_adapter("/nonexistent/path")
161 assert valid == False
162 assert "not found" in msg.lower()
163
164 def test_not_a_directory(self):
165 """Test when path is not a directory."""

Callers

nothing calls this directly

Calls 1

validate_lora_adapterFunction · 0.90

Tested by

no test coverage detected