File tree 1 file changed +1
-6
lines changed 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -184,17 +184,14 @@ def test_with_non_object_event(self):
184
184
{},
185
185
)
186
186
187
- """
188
- TODO(astuyve) I don't think partial extraction is forbidden anymore? ask rey
189
187
@with_trace_propagation_style ("datadog" )
190
188
def test_with_incomplete_datadog_trace_headers (self ):
191
189
lambda_ctx = get_mock_context ()
192
190
ctx , source , event_source = extract_dd_trace_context (
193
- {"headers": {TraceHeader.TRACE_ID: "123", TraceHeader.PARENT_ID: "321" }},
191
+ {"headers" : {TraceHeader .TRACE_ID : "123" }},
194
192
lambda_ctx ,
195
193
)
196
194
self .assertEqual (source , "xray" )
197
- print(ctx)
198
195
self .assertEqual (
199
196
ctx ,
200
197
Context (
@@ -211,7 +208,6 @@ def test_with_incomplete_datadog_trace_headers(self):
211
208
TraceHeader .SAMPLING_PRIORITY : "2" ,
212
209
},
213
210
)
214
- """
215
211
216
212
@with_trace_propagation_style ("datadog" )
217
213
def test_with_complete_datadog_trace_headers (self ):
@@ -532,7 +528,6 @@ def test_with_legacy_client_context_w3c_trace_data(self):
532
528
"_dd.parent_id" : "0000000000000000" ,
533
529
},
534
530
)
535
- print (ctx )
536
531
self .assertEqual (ctx , expected_context )
537
532
self .assertDictEqual (
538
533
get_dd_trace_context (),
You can’t perform that action at this time.
0 commit comments