Redesign Russian trading dashboard
This commit is contained in:
+1283
-519
File diff suppressed because it is too large
Load Diff
@@ -4,6 +4,7 @@ import json
|
|||||||
|
|
||||||
from crypto_spot_bot.dashboard import _apply_fast_trading
|
from crypto_spot_bot.dashboard import _apply_fast_trading
|
||||||
from crypto_spot_bot.dashboard import _safe_config
|
from crypto_spot_bot.dashboard import _safe_config
|
||||||
|
from crypto_spot_bot.dashboard import HTML
|
||||||
from crypto_spot_bot.storage import Storage
|
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,
|
"target_horizon": 0,
|
||||||
"direct_horizon": False,
|
"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
|
||||||
|
|||||||
Reference in New Issue
Block a user