c2743251e9
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>
12 lines
413 B
Python
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"
|