Publish curated GeoIntel source snapshot
This commit is contained in:
commit
0aae654d6e
764 files changed
+169154
No files matched your search
@@ -0,0 +1,24 @@
|
||||
from pathlib import Path
|
||||
from tests.frontend_contract import read_feature
|
||||
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[2]
|
||||
|
||||
|
||||
def test_guided_calibration_rows_link_to_existing_qa_evidence_map() -> None:
|
||||
lab = ROOT / "frontend" / "src" / "components" / "detection" / "DetectionLab.tsx"
|
||||
todo = ROOT / "docs" / "TODO.md"
|
||||
|
||||
lab_source = lab.read_text(encoding="utf-8")
|
||||
app_source = read_feature("shell")
|
||||
todo_source = todo.read_text(encoding="utf-8")
|
||||
|
||||
assert "onOpenCalibrationEvidence" in lab_source
|
||||
assert "Toon kaartbewijs" in lab_source
|
||||
assert "disabled={!row.quality_check_id || row.status !== 'success'}" in lab_source
|
||||
assert "onOpenCalibrationEvidence(row.quality_check_id)" in lab_source
|
||||
assert "Evidence" in lab_source
|
||||
assert "quality_check_id" in lab_source
|
||||
|
||||
assert "onOpenCalibrationEvidence={openQualityEvidenceOnMap}" in app_source
|
||||
assert "[x] Link guided calibration rows to the QA evidence map" in todo_source
|
||||
Reference in new issue
Block a user