tests: keep the theme tests off a live backend
They mounted NaviCodeTui without mocking the terminal API. The mount worker
resolves a session and replays its history with load_history(), which rebuilds
the chat; against a running Navi on :8099 that replay landed after the test had
injected stream_delta and wiped the bubble, so the test passed only while no
server happened to be listening. Mock the same calls the neighbouring TUI test
modules do.
1 parent ddc71ed commit 502e33a73110b679ca8ccb90ec2d7ae8284988b2
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored 9 hours ago
Showing 1 changed file
View
tests/clients/test_tui_themes.py