Markitect boundary and reuse tests
This commit is contained in:
parent
9f1b8da87a
commit
ef8391e6a7
15 changed files with 490 additions and 6 deletions
|
|
@ -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},
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue