6 lines
544 B
Python
6 lines
544 B
Python
from pathlib import Path
|
|
from src.models import PilotSessionReport
|
|
from src.presentation_summary_builder import PresentationSummaryBuilder
|
|
def test_midterm_summary_contains_required_sections(tmp_path:Path)->None:
|
|
r=PilotSessionReport("r","now","in","out",0,0,0,0,0,None,None,None,None,None,None,"find","quality","next");path=PresentationSummaryBuilder().build(r,tmp_path,tmp_path/"midterm.md");text=path.read_text(encoding="utf-8");assert "研究目的" in text and "実装済み" in text and "反応率" in text and "因果関係" in text
|