from app.services.transcriber import _normalise_transcript_text def test_normalise_walk_experience_to_work_experience() -> None: query = "uh what is his walk experience in a professional setting" assert _normalise_transcript_text(query) == "what is his work experience in a professional setting" def test_normalise_text_stack_to_tech_stack() -> None: assert _normalise_transcript_text("what text stack does he use") == "what tech stack does he use" def test_keeps_clean_transcript_unchanged() -> None: original = "What technologies and skills does he work with?" assert _normalise_transcript_text(original) == original