Spaces:
Sleeping
Sleeping
File size: 325 Bytes
1cc158b | 1 2 3 4 5 6 7 8 9 10 | 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"
|