File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
instrumentation/opentelemetry-instrumentation-aiohttp-client/tests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ def test_schema_url(self):
332332
333333 span = self .memory_exporter .get_finished_spans ()[0 ]
334334 self .assertEqual (
335- span .instrumentation_info .schema_url ,
335+ span .instrumentation_scope .schema_url ,
336336 "https://opentelemetry.io/schemas/1.11.0" ,
337337 )
338338 self .memory_exporter .clear ()
@@ -349,7 +349,7 @@ def test_schema_url_new_semconv(self):
349349
350350 span = self .memory_exporter .get_finished_spans ()[0 ]
351351 self .assertEqual (
352- span .instrumentation_info .schema_url ,
352+ span .instrumentation_scope .schema_url ,
353353 "https://opentelemetry.io/schemas/1.21.0" ,
354354 )
355355 self .memory_exporter .clear ()
@@ -366,7 +366,7 @@ def test_schema_url_both_semconv(self):
366366
367367 span = self .memory_exporter .get_finished_spans ()[0 ]
368368 self .assertEqual (
369- span .instrumentation_info .schema_url ,
369+ span .instrumentation_scope .schema_url ,
370370 "https://opentelemetry.io/schemas/1.21.0" ,
371371 )
372372 self .memory_exporter .clear ()
You can’t perform that action at this time.
0 commit comments