[+] lab7
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
docker compose run --rm --no-deps student-tests
|
||||
Container mtusi-lab7-student-tests-run-634410e14061 Creating
|
||||
Container mtusi-lab7-student-tests-run-634410e14061 Created
|
||||
........................................... [100%]
|
||||
=============================== warnings summary ===============================
|
||||
../usr/local/lib/python3.13/site-packages/fastapi/testclient.py:1
|
||||
/usr/local/lib/python3.13/site-packages/fastapi/testclient.py:1: StarletteDeprecationWarning: Using `httpx` with `starlette.testclient` is deprecated; install `httpx2` instead.
|
||||
from starlette.testclient import TestClient as TestClient # noqa
|
||||
|
||||
student-tests/test_attachments.py: 19 warnings
|
||||
student-tests/test_idempotency.py: 1 warning
|
||||
student-tests/test_jobs.py: 6 warnings
|
||||
/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:3593: 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
|
||||
43 passed, 28 warnings in 13.52s
|
||||
Reference in New Issue
Block a user