поправлены в какой то раз удаления для верхнего счета
This commit is contained in:
@@ -14,11 +14,12 @@ def test_authoritative_strength_change_rebalances_penalty_targets():
|
||||
assert "Penalty strength rebalance error" in block
|
||||
|
||||
|
||||
def test_penalty_plan_rebalances_after_strength_refresh_without_forcing_complex_powerplay():
|
||||
def test_penalty_plan_rebalances_after_strength_refresh_to_single_advantage_plate():
|
||||
start = APP_JS.index("function penaltyDisplayEntriesByTargetSide")
|
||||
end = APP_JS.index("function hockeyPenaltySideMappingDetail", start)
|
||||
block = APP_JS[start:end]
|
||||
assert 'if (home.length && away.length)' in block
|
||||
assert 'routedToAdvantage: false' in block
|
||||
assert 'if (home.length)' in block
|
||||
assert 'if (away.length)' in block
|
||||
assert 'penaltyLocalAdvantageSide(home.length, away.length)' in block
|
||||
assert 'transitionEntry = all[0]' in block
|
||||
assert 'routedToAdvantage: true' in block
|
||||
assert 'if (!advantageSide)' in block
|
||||
|
||||
|
||||
Reference in New Issue
Block a user