refactor(csv-import): Simplify test execution and enhance custom equivalence handling
Deploy Development / deploy (push) Successful in 57s
Build Test / pytest-backend (push) Failing after 4s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 16s

- Updated the test execution command in the CI workflow to run all tests excluding slow ones, improving efficiency.
- Enhanced the AdminCsvTemplateEditorPage to support custom equivalence for unit conversions, allowing for more flexible data handling.
- Added markers in pytest configuration for categorizing tests, facilitating better test management.
This commit is contained in:
Lars committed 2026-04-10 11:38:54 +02:00
1 parent 8ee9fb84ba
commit 8b67f7ab55
3 files changed
+228 -79

No files matched your search

+1 -7
View File
@@ -34,13 +34,7 @@ jobs:
docker compose -f "$COMPOSE_FILE" exec -T backend sh -lc "
pip install -r /app/requirements-dev.txt &&
cd /app &&
python -m pytest \
tests/test_csv_parser_core.py \
tests/test_csv_import_executor.py \
tests/test_mapping_suggest.py \
tests/test_placeholder_metadata.py \
tests/test_placeholder_metadata_v2.py \
-q --tb=short
python -m pytest tests -m 'not slow' -q --tb=short
"
lint-backend: