The request_stream method should return a stream for video only.
()
| 68 | |
| 69 | |
| 70 | async def test_request_stream_video_only(): |
| 71 | """ |
| 72 | The request_stream method should return a stream for video only. |
| 73 | """ |
| 74 | try: |
| 75 | stream = await media.Device.request_stream(video=True) |
| 76 | assert hasattr(stream, "active") |
| 77 | except Exception: |
| 78 | # Permission denied or no devices available - test passes. |
| 79 | pass |
| 80 | |
| 81 | |
| 82 | async def test_request_stream_audio_only(): |
nothing calls this directly
no test coverage detected