загрузил иконку и поменял название вкладки браузера
This commit is contained in:
@@ -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():
|
||||
|
||||
@@ -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():
|
||||
|
||||
@@ -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
|
||||
|
||||
15
tests/test_build64_browser_title_favicon.py
Normal file
15
tests/test_build64_browser_title_favicon.py
Normal 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
|
||||
Reference in New Issue
Block a user