generated from coulomb/repo-seed
Markitect boundary and reuse tests
This commit is contained in:
@@ -74,7 +74,7 @@ class MarkdownIngestionAdapter:
|
||||
|
||||
def ingest(self, request: IngestionRequest) -> IngestionResult:
|
||||
try:
|
||||
from markitect_tool.core.parser import parse_markdown
|
||||
from markitect_tool import parse_markdown
|
||||
except Exception as exc: # pragma: no cover - exercised when optional dep absent
|
||||
raise AdapterUnavailableError(
|
||||
"markitect-tool is required for markdown ingestion",
|
||||
@@ -122,4 +122,3 @@ class IngestionService:
|
||||
"No ingestion adapter registered for media type",
|
||||
details={"media_type": request.media_type},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user