Files
recipes/pytest.ini
smilerz 3606612135 Add ingredient context features and update dependencies
Because:
- Missing never_used_food parameter broke recipe search filtering
- Users needed ingredient substitute functionality
- Ingredient context menu was incomplete for recipe management
- PDF viewer and dependencies required updates for compatibility
- Development tools needed formatting and linting improvements

Adds never_used_food QueryParam to RecipeViewSet for proper search filtering. Implements ingredient substitutes API endpoint and ingredient_context user preference field. Creates IngredientContextMenu component and Substitute badge for enhanced recipe management. Updates PDF.js from legacy version to modern web-based implementation with SVG icons and improved localization. Refreshes Vue dependencies including security updates and formatting tools. Adds comprehensive test coverage for nested serializers and search functionality. Updates VS Code settings for better development workflow.
2025-07-13 17:02:21 -05:00

8 lines
458 B
INI

[pytest]
DJANGO_SETTINGS_MODULE = recipes.test_settings
testpaths = cookbook/tests
python_files = tests.py test_*.py *_tests.py
# uncomment to run coverage reports
addopts = -n auto --cov=. --cov-report=html:docs/reports/coverage --cov-report=xml:docs/reports/coverage/coverage.xml --junitxml=docs/reports/tests/pytest.xml --html=docs/reports/tests/tests.html
# addopts = -n auto --junitxml=docs/reports/tests/pytest.xml --html=docs/reports/tests/tests.html