File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
instrumentation/opentelemetry-instrumentation-requests/tests Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 5151 SERVER_PORT ,
5252)
5353from opentelemetry .semconv .attributes .url_attributes import URL_FULL
54- from opentelemetry .semconv .trace import SpanAttributes
5554from opentelemetry .semconv ._incubating .attributes .http_attributes import (
5655 HTTP_FLAVOR ,
5756 HTTP_HOST ,
@@ -167,7 +166,7 @@ def test_basic(self):
167166
168167 self .assertEqual (
169168 span .instrumentation_scope .schema_url ,
170- SpanAttributes . SCHEMA_URL ,
169+ "https://opentelemetry.io/schemas/1.11.0" ,
171170 )
172171
173172 self .assertEqual (
@@ -199,7 +198,7 @@ def test_basic_new_semconv(self):
199198
200199 self .assertEqual (
201200 span .instrumentation_scope .schema_url ,
202- SpanAttributes . SCHEMA_URL ,
201+ "https://opentelemetry.io/schemas/1.21.0" ,
203202 )
204203 self .assertEqual (
205204 span .attributes ,
@@ -235,7 +234,7 @@ def test_basic_both_semconv(self):
235234
236235 self .assertEqual (
237236 span .instrumentation_scope .schema_url ,
238- "https://opentelemetry.io/schemas/1.21.0" ,
237+ "https://opentelemetry.io/schemas/1.21.0" ,
239238 )
240239 self .assertEqual (
241240 span .attributes ,
You can’t perform that action at this time.
0 commit comments