Initial deploy setup
deploy / deploy (push) Canceled after 0s

This commit is contained in:
Jens
2026-07-21 14:00:00 +02:00
commit b8091e59bd
285 changed files with 27854 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
from pathlib import Path
from apps.sources.adapters.generic_html import GenericHtmlAdapter
def test_generic_html_fallback_extracts_core_fields():
html = Path("fixtures/pages/sample_generic_job.html").read_text(encoding="utf-8")
result = GenericHtmlAdapter().extract(html, url="https://careers.example.net/jobs/1")
assert result.jobs[0].title == "Workplace Engineer"
assert result.jobs[0].employer_name == "Example Health"
assert "Microsoft Intune" in result.jobs[0].description_text