feat(testing): add end-to-end HTML scraping and parsing tests with typed parsers
- Add smart httpx MockTransport routing based on endpoint paths - Render HTML fixtures via Jinja templates populated from JSON data - Introduce explicit, typed HTML parsers for semantic and table-based content - Add end-to-end tests covering scraper → content → parser → Pydantic models - Enforce explicit output contracts and avoid default dict-based parsing
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
httpx==0.27.0
|
||||
beautifulsoup4==4.12.0
|
||||
pydantic==2.12.3
|
||||
jinja2==3.1.6
|
||||
# lxml==5.2.0
|
||||
|
||||
pytest==7.4.0
|
||||
|
||||
Reference in New Issue
Block a user