import pytest from bot.utils.voice import normalize_text @pytest.mark.parametrize( "input_text, expected", [ ("привет", "Привет."), ("Привет!", "Привет!"), (" hello world ", "Hello world."), ("", ""), ("как дела", "Как дела."), ], ) def test_normalize_text(input_text: str, expected: str) -> None: assert normalize_text(input_text) == expected