test: tighten pr320 lobby ownership guard
All checks were successful
CI / test-and-quality (push) Successful in 4m6s
CI / test-and-quality (pull_request) Successful in 4m8s

This commit is contained in:
2026-03-18 06:44:54 +01:00
parent df9b6d192c
commit 21e390d200

View File

@@ -115,8 +115,15 @@ class LobbyGameplayExtractionTests(TestCase):
} }
forbidden_snippets = ( forbidden_snippets = (
"RoundConfig.objects.get_or_create(",
"RoundConfig.objects.create(",
"RoundQuestion.objects.create(",
"select_round_question(", "select_round_question(",
"reset_round_question_bootstrap_state(", "reset_round_question_bootstrap_state(",
"session.current_round =",
"session.status = GameSession.Status.LIE",
"session.status = GameSession.Status.SCOREBOARD",
"session.status = GameSession.Status.FINISHED",
"build_start_next_round_response(", "build_start_next_round_response(",
"build_start_next_round_phase_event(", "build_start_next_round_phase_event(",
"build_finish_game_response(", "build_finish_game_response(",