загрузил иконку и поменял название вкладки браузера

This commit is contained in:
2026-08-19 15:23:57 +03:00
parent a03c54dbe8
commit 972ca701e5
7 changed files with 46 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ APP = (ROOT / "app.py").read_text(encoding="utf-8")
def test_build_version_bumped():
assert 'BUILD_VERSION = "2026.08.19.21"' in APP
assert 'BUILD_VERSION = "2026.08.19.22"' in APP
def test_sequence_targets_match_active_overlay_input():

View File

@@ -6,7 +6,7 @@ APP = (ROOT / "app.py").read_text(encoding="utf-8")
def test_build_version_bumped():
assert 'BUILD_VERSION = "2026.08.19.21"' in APP
assert 'BUILD_VERSION = "2026.08.19.22"' in APP
def test_overlay_parser_accepts_legacy_function_strings():

View File

@@ -39,4 +39,4 @@ def test_runtime_has_hockey_account_logout_button_and_handler():
def test_build_version_bumped():
app = (ROOT / "app.py").read_text(encoding="utf-8")
assert 'BUILD_VERSION = "2026.08.19.21"' in app
assert 'BUILD_VERSION = "2026.08.19.22"' in app

View File

@@ -0,0 +1,15 @@
from pathlib import Path
ROOT = Path(__file__).resolve().parents[1]
def test_main_html_has_hockey_vmix_title_and_favicon():
html = (ROOT / "ui_builder" / "static" / "index.html").read_text(encoding="utf-8")
assert "<title>Хоккейный vMix</title>" in html
assert 'href="__UI_BUILDER_ASSETS__/favicon.svg?v=__UI_BUILDER_ASSET_VERSION__"' in html
def test_favicon_svg_exists_and_is_valid_svg_shell():
svg = (ROOT / "ui_builder" / "static" / "favicon.svg").read_text(encoding="utf-8")
assert svg.lstrip().startswith("<svg")
assert "viewBox=\"0 0 64 64\"" in svg