The request_stream method should return a stream for audio only.
()
| 80 | |
| 81 | |
| 82 | async def test_request_stream_audio_only(): |
| 83 | """ |
| 84 | The request_stream method should return a stream for audio only. |
| 85 | """ |
| 86 | try: |
| 87 | stream = await media.Device.request_stream(audio=True, video=False) |
| 88 | assert hasattr(stream, "active") |
| 89 | except Exception: |
| 90 | # Permission denied or no devices available - test passes. |
| 91 | pass |
| 92 | |
| 93 | |
| 94 | async def test_request_stream_audio_and_video(): |
nothing calls this directly
no test coverage detected