[AZ-178] Add real-video streaming test, update e2e tests, mark task done

- Add tests/test_az178_realvideo_streaming.py: integration test that validates
  frame decoding begins while upload is still in progress using a real video fixture
- Add conftest.py: pytest plugin for per-test duration reporting
- Update e2e tests (async_sse, performance, security, streaming_video_upload, video)
  and run-tests.sh for updated test suite
- Move AZ-178 task to done/; add data/ to .gitignore (StreamingBuffer temp files)
- Update autopilot state to step 12 (Security Audit) for new feature cycle

Made-with: Cursor
This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-04-01 05:02:25 +03:00
parent be4cab4fcb
commit 07c2afb62e
11 changed files with 142 additions and 261 deletions
+2 -3
View File
@@ -29,15 +29,14 @@ def test_nft_sec_01_malformed_multipart(base_url, http_client):
assert http_client.get("/health").status_code == 200
@pytest.mark.slow
@pytest.mark.timeout(300)
@pytest.mark.timeout(30)
def test_nft_sec_02_oversized_request(http_client):
large = os.urandom(50 * 1024 * 1024)
try:
r = http_client.post(
"/detect",
files={"file": ("large.jpg", large, "image/jpeg")},
timeout=180,
timeout=15,
)
except requests.RequestException:
pass