[+] lab4
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
./scripts/check_fresh_migrations.sh
|
||||
Applied 001_initial.sql
|
||||
Applied 002_idempotency.sql
|
||||
Applied 003_attachments.sql
|
||||
Migrations up to date
|
||||
Migrations up to date
|
||||
..................... [100%]
|
||||
=============================== warnings summary ===============================
|
||||
student-tests/test_attachments.py: 13 warnings
|
||||
student-tests/test_idempotency.py: 1 warning
|
||||
/usr/local/lib/python3.13/site-packages/botocore/auth.py:422: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
|
||||
datetime_now = datetime.datetime.utcnow()
|
||||
|
||||
student-tests/test_attachments.py::test_invalid_media_corruption_limits_and_filename
|
||||
/usr/local/lib/python3.13/site-packages/PIL/Image.py:3452: DecompressionBombWarning: Image size (40004000 pixels) exceeds limit of 40000000 pixels, could be decompression bomb DOS attack.
|
||||
warnings.warn(
|
||||
|
||||
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
|
||||
21 passed, 15 warnings in 4.23s
|
||||
PASS: migrations and application tests on fresh disposable PostgreSQL and Redis volumes.
|
||||
Reference in New Issue
Block a user