Skip to content

Commit fccf547

Browse files
committed
Debugging tests
1 parent 3ddc60d commit fccf547

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

exporter/opentelemetry-exporter-otlp-proto-grpc/src/opentelemetry/exporter/otlp/proto/grpc/_log_exporter/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ def __init__(
8686
if compression is None
8787
else compression
8888
)
89-
endpoint=endpoint or environ.get(OTEL_EXPORTER_OTLP_LOGS_ENDPOINT),
89+
endpoint=endpoint or environ.get(OTEL_EXPORTER_OTLP_LOGS_ENDPOINT)
9090

91-
headers=headers or environ.get(OTEL_EXPORTER_OTLP_LOGS_HEADERS),
91+
headers=headers or environ.get(OTEL_EXPORTER_OTLP_LOGS_HEADERS)
9292

9393
super().__init__(
9494
**{

exporter/opentelemetry-exporter-otlp-proto-grpc/tests/logs/test_otlp_logs_exporter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ def test_exporting(self):
191191
"opentelemetry.exporter.otlp.proto.grpc.exporter.OTLPExporterMixin.__init__"
192192
)
193193
def test_env_variables(self, mock_exporter_mixin):
194-
OTLPLogExporter()
195-
194+
print("*************************")
195+
print(mock_exporter_mixin.call_args_list)
196196
self.assertTrue(len(mock_exporter_mixin.call_args_list) == 1)
197197
_, kwargs = mock_exporter_mixin.call_args_list[0]
198198

0 commit comments

Comments
 (0)