ui: локальный Tabler dashboard + 150 проверенных TG-источников и probe 595 каналов
This commit is contained in:
@@ -454,10 +454,10 @@ def test_http_exports_match_feed_filters_and_item_find(monkeypatch):
|
||||
server.server_close()
|
||||
thread.join(timeout=5)
|
||||
|
||||
def test_web_has_free_panel_block():
|
||||
"""Вкладка абузов обязана показывать free-панели new-api."""
|
||||
html = open(os.path.join(ROOT, "web", "index.html"), encoding="utf-8").read()
|
||||
def test_web_has_local_dashboard_and_free_panel_block():
|
||||
"""The ready-made UI stays local and retains the free-panel discovery feature."""
|
||||
html = (ROOT / "web" / "index.html").read_text(encoding="utf-8")
|
||||
assert "loadPanels" in html
|
||||
assert "/api/panels" in html
|
||||
assert "pn-grid" in html
|
||||
assert ".pn-grid{" in html
|
||||
assert "/assets/vendor/tabler/tabler.min.css" in html
|
||||
assert "/assets/vendor/tabler/tabler.min.js" in html
|
||||
|
||||
Reference in New Issue
Block a user