Download tests/test_normalizer_integration.py from veripazari/durak: direct link, hf CLI and curl.
- Browser
- Download file 411 Bytes
-
https://huggingface.co/veripazari/durak/resolve/main/tests/test_normalizer_integration.py
- Command line
-
hf download hf://veripazari/durak/tests/test_normalizer_integration.py
-
curl -L -o test_normalizer_integration.py https://huggingface.co/veripazari/durak/resolve/main/tests/test_normalizer_integration.py
411 Bytes
| import importlib.util | |
| import pytest | |
| from durak.normalizer import Normalizer | |
| RUST_AVAILABLE = importlib.util.find_spec("durak._durak_core") is not None | |
| def test_end_to_end_integration() -> None: | |
| """Real integration test.""" | |
| normalizer = Normalizer() | |
| result = normalizer("İSTANBUL") | |
| assert result == "istanbul" | |