Spaces:
Runtime error
Runtime error
cdupland
Implement price import functionality with support for CSV and Excel formats. Add API endpoint for starting price imports, including validation and error handling. Introduce new schemas, services, and repositories for price data management. Update documentation to reflect new features and usage. Enhance tests to cover the added functionality.
0f8d56c Download tests/unit/test_reference_normalization.py from mlcl-trading/afp-backend: direct link, hf CLI and curl.
- Browser
- Download file 508 Bytes
-
https://huggingface.co/spaces/mlcl-trading/afp-backend/resolve/main/tests/unit/test_reference_normalization.py
- Command line
-
hf download hf://spaces/mlcl-trading/afp-backend/tests/unit/test_reference_normalization.py
-
curl -L -o test_reference_normalization.py https://huggingface.co/spaces/mlcl-trading/afp-backend/resolve/main/tests/unit/test_reference_normalization.py
508 Bytes
| import pytest | |
| from app.domain.reference_normalization import normalize_reference | |
| def test_normalize_reference(raw: str | None, expected: str | None) -> None: | |
| assert normalize_reference(raw) == expected | |