Test _start_stream_proxy when STREAM_PORT is 0.
()
| 300 | |
| 301 | @pytest.mark.asyncio |
| 302 | async def test_start_stream_proxy_disabled(): |
| 303 | """Test _start_stream_proxy when STREAM_PORT is 0.""" |
| 304 | with patch("api_utils.app.get_environment_variable", return_value="0"): |
| 305 | await _start_stream_proxy() |
| 306 | # Should do nothing |
| 307 | |
| 308 | |
| 309 | @pytest.mark.asyncio |
nothing calls this directly
no test coverage detected