From 21e390d20080531a07c1dd70d4e044978827e7cd Mon Sep 17 00:00:00 2001 From: dev-bot Date: Wed, 18 Mar 2026 06:44:54 +0100 Subject: [PATCH] test: tighten pr320 lobby ownership guard --- lobby/tests.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lobby/tests.py b/lobby/tests.py index a383530..6e5140b 100644 --- a/lobby/tests.py +++ b/lobby/tests.py @@ -115,8 +115,15 @@ class LobbyGameplayExtractionTests(TestCase): } forbidden_snippets = ( + "RoundConfig.objects.get_or_create(", + "RoundConfig.objects.create(", + "RoundQuestion.objects.create(", "select_round_question(", "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_phase_event(", "build_finish_game_response(",