Fix flaky hls keepalive test (#47186)

Remove a call to stream.start() which is issued before the test is fully
setup (e.g. keepalive is not set to True, and mock calls are not registered)
This commit is contained in:
Allen Porter 2021-02-28 10:25:07 -08:00 committed by GitHub
parent 261d86f06b
commit 5cc8302e6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -229,7 +229,6 @@ async def test_stream_keepalive(hass):
stream = create_stream(hass, source)
track = stream.add_provider("hls")
track.num_segments = 2
stream.start()
cur_time = 0