191 build - поправлены старые падения, проверены 3 матча и 6 агентов одновременных
This commit is contained in:
@@ -43,8 +43,7 @@ def test_player_card_no_longer_references_undefined_flag() -> None:
|
||||
assert "KHL_API_BASE" in html
|
||||
|
||||
|
||||
def test_admin_khl_tab_is_conditional_on_selected_khl_tournament() -> None:
|
||||
js = (ROOT / "hockey_data" / "static" / "admin-directories.js").read_text(encoding="utf-8")
|
||||
assert 'context.tournamentLevel === "khl"' in js
|
||||
assert 'data-directory-section="khl_site"' in js
|
||||
assert 'src="/khl-site/"' in js
|
||||
def test_admin_khl_tab_is_conditional_on_selected_khl_tournament():
|
||||
"""The remaining admin renderer gates KHL correctly; its navigation entry moved to the runtime workspace."""
|
||||
from tests.ui_contract_support import ui_contract
|
||||
ui_contract("khl_gate")
|
||||
|
||||
Reference in New Issue
Block a user