тест 3
This commit is contained in:
@@ -33,9 +33,9 @@ def test_countdown_start_is_simple_set_start():
|
||||
def test_pause_and_stop_freeze_without_reseed():
|
||||
helper = _block("function vmixCountdownSyncCommands", "function buildShortcutRuntimeContext")
|
||||
branch = helper.split('if (action === "stop" || action === "pause")', 1)[1].split('return [', 1)[1].split('];', 1)[0]
|
||||
assert 'Function: "StopCountdown"' in branch
|
||||
assert 'Function: "SuspendCountdown"' in branch
|
||||
assert 'Function: "StopCountdown"' not in branch
|
||||
assert 'Function: "SetCountdown"' not in branch
|
||||
assert 'Function: "SuspendCountdown"' not in branch
|
||||
assert 'Function: "PauseCountdown"' not in branch
|
||||
|
||||
|
||||
@@ -45,7 +45,6 @@ def test_penalty_rebalance_hard_syncs_running_countdown_and_pauses_stably():
|
||||
assert 'Value: () => vmixCountdownValue(entry.event.remainingMs)' in block
|
||||
assert 'runCommands.push({ Function: "StartCountdown"' in block
|
||||
assert 'sendRuntimeVmixTimerSequence(commands)' in block
|
||||
assert 'Function: "SuspendCountdown"' not in block
|
||||
assert 'Function: "PauseCountdown"' not in block
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user