test_golden_pt_br_smoke.py (693B)
1 """Smoke tests com texto PT-BR fixo (golden minimo, sem chamadas live a OpenAI).""" 2 3 from __future__ import annotations 4 5 import unittest 6 from pathlib import Path 7 8 9 FIXTURE = Path(__file__).resolve().parent / "fixtures" / "golden_pt_br" / "reuniao_curta.txt" 10 11 12 class GoldenPtBrSmokeTests(unittest.TestCase): 13 def test_fixture_exists_and_has_meeting_markers(self): 14 self.assertTrue(FIXTURE.is_file(), f"Fixture em falta: {FIXTURE}") 15 text = FIXTURE.read_text(encoding="utf-8") 16 lowered = text.lower() 17 self.assertIn("decis", lowered) 18 self.assertIn("action", lowered) 19 self.assertIn("bruno", lowered) 20 21 22 if __name__ == "__main__": 23 unittest.main()