update 3
This commit is contained in:
@@ -9,9 +9,10 @@ def _block(start: str, end: str) -> str:
|
||||
return APP_JS.split(start, 1)[1].split(end, 1)[0]
|
||||
|
||||
|
||||
def test_prepared_penalty_does_not_force_vmix_rebalance():
|
||||
def test_prepared_penalty_shows_stopped_time_when_scoreboard_is_live():
|
||||
block = _block("function emitHockeyEventUpdated", "function createHockeyPenaltyDraft")
|
||||
assert "rebalanceVmixPenaltyTargets" not in block
|
||||
assert "hockeyEventReady(event)" in block and "hockeyScoreboardIsLive()" in block
|
||||
assert "rebalanceVmixPenaltyTargets" in block
|
||||
draft = _block("function createHockeyPenaltyDraft", "function findHockeyPenalty")
|
||||
assert "startedOnce: false" in draft
|
||||
control = _block("function controlHockeyPenalty", "function formatHockeyPenaltyTime")
|
||||
|
||||
Reference in New Issue
Block a user