Files
EvoScientist/tests/test_stream_display.py
T
m4 c2743251e9 Initial commit of EvoScientist framework
Self-evolving AI scientist framework built on LangGraph/LangChain with
CLI/TUI core, FastAPI gateway, and Next.js frontend.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
2026-07-13 08:07:45 +08:00

12 lines
413 B
Python

"""Tests for Rich streaming display helpers."""
from EvoScientist.stream.display import resolve_final_status_footer
def test_resolve_final_status_footer_hides_footer_for_interactive_cli():
assert resolve_final_status_footer(True, lambda: "footer") is None
def test_resolve_final_status_footer_keeps_footer_for_noninteractive():
assert resolve_final_status_footer(False, lambda: "footer") == "footer"