forked from mtusi2026/mtusi2026lab4
16 lines
595 B
Plaintext
16 lines
595 B
Plaintext
|
|
### attachment_checks
|
|
### command: make PYTHON=/usr/bin/python3 test-attachment
|
|
### started_at: 2026-12-04T11:31:07Z
|
|
/usr/bin/python3 student-tests/attachment-checks.py --base-url "http://127.0.0.1:8084"
|
|
PASS size and pixel limits
|
|
PASS MIME, damage and filename display
|
|
PASS filename validation
|
|
PASS attachment ACL
|
|
PASS interrupted upload leaves no row/object
|
|
PASS unavailable S3 is 503, not 500, and recovers
|
|
PASS unavailable PostgreSQL is 503, liveness stays up, data recovers
|
|
PASS no token/password/message/S3 secret in API logs
|
|
PASS: lab4 attachment checks, 39 assertions
|
|
### exit_code: 0
|