Updated streaming tests

This commit is contained in:
Cyber MacGeddon 2026-01-06 19:54:00 +00:00
parent fed30621a2
commit b1a4ae91d2

View file

@ -347,4 +347,5 @@ class TestStreamingProtocolEdgeCases:
# Assert
assert len(chunks_with_flags) == 4
assert chunks_with_flags[-1] == ("", True) # Final empty chunk
assert end_of_stream_flags.count(True) for end_of_stream_flags in [[f for c, f in chunks_with_flags]] == 1
end_of_stream_flags = [f for c, f in chunks_with_flags]
assert end_of_stream_flags.count(True) == 1