@@ -734,7 +734,7 @@ def test_logging_init_disable_default(self, logging_mock, tracing_mock):
734734 _initialize_components (auto_instrumentation_version = "auto-version" )
735735 self .assertEqual (tracing_mock .call_count , 1 )
736736 logging_mock .assert_called_once_with (
737- mock .ANY , mock .ANY , False , exporter_args_map = None
737+ mock .ANY , mock .ANY , False , otlp_credential_param = None , exporter_args_map = None
738738 )
739739
740740 @patch .dict (
@@ -750,7 +750,7 @@ def test_logging_init_enable_env(self, logging_mock, tracing_mock):
750750 with self .assertLogs (level = WARNING ):
751751 _initialize_components (auto_instrumentation_version = "auto-version" )
752752 logging_mock .assert_called_once_with (
753- mock .ANY , mock .ANY , True , exporter_args_map = None
753+ mock .ANY , mock .ANY , True , otlp_credential_param = None , exporter_args_map = None
754754 )
755755 self .assertEqual (tracing_mock .call_count , 1 )
756756
@@ -868,17 +868,20 @@ def test_initialize_components_kwargs(
868868 id_generator = "TEST_GENERATOR" ,
869869 sampler = "TEST_SAMPLER" ,
870870 resource = "TEST_RESOURCE" ,
871+ otlp_credential_param = None ,
871872 exporter_args_map = {1 : {"compression" : "gzip" }},
872873 )
873874 metrics_mock .assert_called_once_with (
874875 "TEST_METRICS_EXPORTERS_DICT" ,
875876 "TEST_RESOURCE" ,
877+ otlp_credential_param = None ,
876878 exporter_args_map = {1 : {"compression" : "gzip" }},
877879 )
878880 logging_mock .assert_called_once_with (
879881 "TEST_LOG_EXPORTERS_DICT" ,
880882 "TEST_RESOURCE" ,
881883 True ,
884+ otlp_credential_param = None ,
882885 exporter_args_map = {1 : {"compression" : "gzip" }},
883886 )
884887
0 commit comments