Files
mtusi2026lab6/student-tests/queue_incident.py
T
2026-11-05 22:23:52 +03:00

12 lines
400 B
Python

"""Submit synthetic attachments without waiting for worker; no credentials printed."""
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parents[1] / 'tests'))
from client import Client
client = Client()
actor, _, _, chat = client.bootstrap()
for _ in range(3):
attachment, _ = client.attachment(actor, chat)
print('accepted attachment:', attachment['id'])