import pytest from app.domain.category_normalization import normalize_category_slug @pytest.mark.unit def test_normalize_category_slug_replaces_spaces_and_punctuation() -> None: assert normalize_category_slug(" Outillage Pro ") == "outillage-pro" assert normalize_category_slug("Sous.Famille") == "sous-famille"