Skip to content

test(openclaw): align final streaming delta assertion#109

Merged
saschabuehrle merged 1 commit intomainfrom
fix/openclaw-final-delta-test
Feb 11, 2026
Merged

test(openclaw): align final streaming delta assertion#109
saschabuehrle merged 1 commit intomainfrom
fix/openclaw-final-delta-test

Conversation

@saschabuehrle
Copy link
Copy Markdown
Collaborator

Summary

  • fix stale assertion in tests/test_openclaw_openai_server_streaming.py
  • final stream chunk now intentionally includes delta.content, so the test now validates that expected content

Why

Recent OpenClaw streaming fixes changed the final chunk contract. Runtime behavior is correct, but CI failed because the test still expected last["delta"] == {}.

Validation

  • python3 -m pytest -q tests/test_openclaw_openai_server_streaming.py tests/test_proxy_agent_mode.py

@saschabuehrle saschabuehrle merged commit adaabd8 into main Feb 11, 2026
19 checks passed
@saschabuehrle saschabuehrle deleted the fix/openclaw-final-delta-test branch February 11, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant