code: def test_init_required_positional(sagemaker_session):
      randomcutforest = RandomCutForest(
          ROLE,
          INSTANCE_COUNT,
          INSTANCE_TYPE,
          NUM_SAMPLES_PER_TREE,
          NUM_TREES,
          EVAL_METRICS,
          sagemaker_session=sagemaker_session,
      )
      assert randomcutforest.role == ROLE
      assert randomcutforest.instance_count == INSTANCE_COUNT
      assert randomcutforest.instance_type == INSTANCE_TYPE
      assert randomcutforest.num_trees == NUM_TREES
      assert (
          randomcutforest.num_samples_per_tree == NUM_SAMPLES_PER_TREE
      )
      assert randomcutforest.eval_metrics == EVAL_METRICS
  
imports: from __future__ import absolute_import
  import pytest
  from mock import Mock, patch
  from sagemaker import image_uris
  from sagemaker.amazon.randomcutforest import RandomCutForest, RandomCutForestPredictor
  from sagemaker.amazon.amazon_estimator import RecordSet
  from sagemaker.session_settings import SessionSettings
label_desc: Use image node_id 2 for calling a global function with example usage: test_init_required_positional(sagemaker_session) without return types