def test_max_turns_reached_no_continuation_offer(self):
        """Test that no continuation is offered when max turns would be exceeded"""
        # Mock MAX_CONVERSATION_TURNS to be 1 for this test
        with patch("tools.base.MAX_CONVERSATION_TURNS", 1):
            request = ContinuationRequest(prompt="Test prompt")

            # Check continuation opportunity
            continuation_data = self.tool._check_continuation_opportunity(request)

            # Should be None because remaining_turns would be 0
            assert continuation_data is None
Test that no continuation is offered when max turns would be exceeded
tests/test_claude_continuation.py