Changement du refresh handler, soft reset d'ajouter sur beaucoup de formulaire de modification
CI - Security, Lint & Tests / validate (push) Failing after 1m3s
CI - Security, Lint & Tests / validate (push) Failing after 1m3s
This commit is contained in:
@@ -154,7 +154,9 @@ class TestSeasonGateEnforcement:
|
||||
|
||||
as_role(role)
|
||||
response = client.post(
|
||||
f'/team-matches/{match_id}/delete', data={}, follow_redirects=True,
|
||||
f'/team-matches/{match_id}/delete',
|
||||
data={},
|
||||
follow_redirects=True,
|
||||
)
|
||||
html = response.data.decode()
|
||||
assert 'season is not active' in html.lower() or 'begin a season' in html.lower()
|
||||
@@ -167,4 +169,4 @@ class TestSeasonGateEnforcement:
|
||||
data={'title': 'Admin Match', 'date': '2026-10-01', 'start_time': '10:00'},
|
||||
follow_redirects=False,
|
||||
)
|
||||
assert _redirected(response) # success, not blocked
|
||||
assert _redirected(response) # success, not blocked
|
||||
|
||||
Reference in New Issue
Block a user