Test invalid adapter path.
(self)
| 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.""" |
nothing calls this directly
no test coverage detected