Skip to content

Commit 4dc0c8a

Browse files
committed
fix: add suggestions
1 parent dd4f3de commit 4dc0c8a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

instrumentation/opentelemetry-instrumentation-httpx/tests/test_httpx_integration.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
SERVER_PORT,
6868
)
6969
from opentelemetry.semconv.attributes.url_attributes import URL_FULL
70+
from opentelemetry.semconv.schemas import Schemas
7071
from opentelemetry.test.mock_textmap import MockTextMapPropagator
7172
from opentelemetry.test.test_base import TestBase
7273
from opentelemetry.trace import StatusCode
@@ -87,7 +88,7 @@
8788

8889

8990
HTTP_RESPONSE_BODY = "http.response.body"
90-
SCHEMA_URL = "https://opentelemetry.io/schemas/1.21.0"
91+
SCHEMA_URL = Schemas.V1_21_0
9192

9293

9394
def _is_url_tuple(request: "RequestInfo"):

0 commit comments

Comments
 (0)