Files
pipecat/tests/test_smallwebrtc_transport.py
James Hush 6eb7da6a1b Align smallwebrtc test with repo conventions (unittest + optional dep guard)
Migrate from pytest-style to unittest.IsolatedAsyncioTestCase to match the
pattern used by other transport tests (e.g. test_livekit_transport.py). Guard
the aiortc/av import with try/except and skipUnless so tests gracefully skip
when webrtc dependencies aren't installed. Add pyright suppressions for false
positives inherent to testing internals of optional-dependency classes.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 10:27:21 +08:00

6.7 KiB