oterm/tests/modals/test_splash.py
Yiorgis Gozadinos e68409ec10
Add modals-tier tests for chat edit/rename/export, pull, logs, MCP, splash
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 22:32:24 +03:00

18 lines
491 B
Python

from textualeffects.widgets import SplashScreen
from oterm.app import splash as splash_mod
def test_module_exports_splash_widget():
assert isinstance(splash_mod.splash, SplashScreen)
def test_effects_list_non_empty_and_tuples():
for effect, config in splash_mod.effects:
assert isinstance(effect, str)
assert isinstance(config, dict)
def test_logo_contains_expected_art():
assert "@@@@" in splash_mod.logo
assert len(splash_mod.logo.splitlines()) > 20