Turkish
durak / tests /test_normalizer_integration.py
Taklaxbr's picture
Continue archive upload (51-98)
a199cc3 verified
Raw History Blame Contribute Delete
411 Bytes
import importlib.util
import pytest
from durak.normalizer import Normalizer
RUST_AVAILABLE = importlib.util.find_spec("durak._durak_core") is not None
@pytest.mark.skipif(not RUST_AVAILABLE, reason="Rust extension not installed")
def test_end_to_end_integration() -> None:
"""Real integration test."""
normalizer = Normalizer()
result = normalizer("İSTANBUL")
assert result == "istanbul"