Files
Sylvain Zimmerandjbpenrath 6eab1af6d6 (rfc5322) switch back to Python's stdlib for email composition
Latest fixes in the stdlib make it a more solid alternative for strict composition than Flanker. We keep Flanker for now for lenient inbound parsing. We add stronger tests and fuzzing to validate we didn't regress.
2026-05-20 18:57:36 +02:00

18 lines
439 B
Bash
Executable File

#!/usr/bin/env bash
source "$(dirname "${BASH_SOURCE[0]}")/_config.sh"
# Forward selected fuzz-related env vars from the host into the container
# so callers can override fuzz-test budgets without editing source.
extra_env=()
if [ -n "${FUZZ_EXAMPLES:-}" ]; then
extra_env+=(-e "FUZZ_EXAMPLES=${FUZZ_EXAMPLES}")
fi
_dc_run \
-e DJANGO_CONFIGURATION=Test \
"${extra_env[@]}" \
--build \
backend-dev \
pytest "$@"