Redesign Russian trading dashboard

This commit is contained in:
Codex
2026-06-26 20:42:01 +03:00
parent 61a063cda7
commit 93c51070c5
2 changed files with 1292 additions and 519 deletions
+9
View File
@@ -4,6 +4,7 @@ import json
from crypto_spot_bot.dashboard import _apply_fast_trading
from crypto_spot_bot.dashboard import _safe_config
from crypto_spot_bot.dashboard import HTML
from crypto_spot_bot.storage import Storage
@@ -55,3 +56,11 @@ def test_safe_config_summarizes_torch_forecast_artifact(make_settings, tmp_path)
"target_horizon": 0,
"direct_horizon": False,
}
def test_dashboard_html_is_russian_torch_workspace() -> None:
assert "Рынки и Torch" in HTML
assert "Что видит нейросеть перед прогнозом" in HTML
assert "Свечи" in HTML
assert "class=\"pill" not in HTML
assert ".pill" not in HTML