refactor(tests): use omniread public API instead of internal module imports

- Replace deep imports with top-level omniread exports in tests
- Ensure tests validate only the supported public API surface
- Align HTML and PDF tests with documented library usage
This commit is contained in:
2026-01-02 19:02:20 +05:30
parent de67c7b0b1
commit b2173f3ef0
4 changed files with 31 additions and 10 deletions

View File

@@ -2,8 +2,13 @@ from typing import Optional
from pydantic import BaseModel
from omniread.html.parser import HTMLParser
from omniread.core.content import Content
from omniread import (
# core
Content,
# html
HTMLParser,
)
class ParsedTableHTML(BaseModel):