@@ -70,7 +70,7 @@ def test_sigv4_exporter_init_valid_cw_otlp_endpoint(self, session_mock):
7070
7171 mock_session .get_available_regions .assert_called_once_with ("xray" )
7272
73- # Tests that the exporter constructor behavior
73+ # Tests that the exporter constructor behavior
7474 # is set by OTLP protobuf/http Span Exporter
7575 # if an invalid OTLP CloudWatch endpoint is set
7676 @patch ("botocore.session.Session" )
@@ -89,8 +89,8 @@ def test_sigv4_exporter_init_invalid_cw_otlp_endpoint(self, botocore_mock):
8989
9090 self .assertIsNone (exporter ._aws_region )
9191
92- # Tests that if the OTLP endpoint is not a valid CW endpoint but the credentials are valid,
93- # SigV4 authentication method is NOT called and is
92+ # Tests that if the OTLP endpoint is not a valid CW endpoint but the credentials are valid,
93+ # SigV4 authentication method is NOT called and is
9494 # NOT injected into the existing Session headers.
9595 @patch ("botocore.session.Session.get_available_regions" )
9696 @patch ("requests.Session.post" )
@@ -154,8 +154,8 @@ def test_sigv4_exporter_export_does_not_add_sigv4_if_not_valid_cw_endpoint(
154154 cert = ANY ,
155155 )
156156
157- # Tests that if the OTLP endpoint is a valid CW endpoint but no credentials are returned,
158- # SigV4 authentication method is NOT called and is NOT
157+ # Tests that if the OTLP endpoint is a valid CW endpoint but no credentials are returned,
158+ # SigV4 authentication method is NOT called and is NOT
159159 # injected into the existing Session headers.
160160 @patch ("botocore.session.Session" )
161161 @patch ("requests.Session" )
@@ -200,8 +200,8 @@ def test_sigv4_exporter_export_does_not_add_sigv4_if_not_valid_credentials(
200200 self .assertNotIn (X_AMZ_DATE_HEADER , actual_headers )
201201 self .assertNotIn (X_AMZ_SECURITY_TOKEN_HEADER , actual_headers )
202202
203- # Tests that if the OTLP endpoint is valid and credentials are valid,
204- # SigV4 authentication method is called and is
203+ # Tests that if the OTLP endpoint is valid and credentials are valid,
204+ # SigV4 authentication method is called and is
205205 # injected into the existing Session headers.
206206 @patch ("botocore.session.Session" )
207207 @patch ("requests.Session" )
0 commit comments