Skip to content

Commit 54ff3d4

Browse files
committed
update asgi tests
1 parent d01c96f commit 54ff3d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: instrumentation/opentelemetry-instrumentation-asgi/tests/test_asgi_middleware.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def validate_outputs(self, outputs, error=None, modifiers=None):
160160
"attributes": {"type": "http.response.body"},
161161
},
162162
{
163-
"name": "/",
163+
"name": "GET /",
164164
"kind": trace_api.SpanKind.SERVER,
165165
"attributes": {
166166
SpanAttributes.HTTP_METHOD: "GET",
@@ -284,6 +284,7 @@ def update_expected_server(expected):
284284
SpanAttributes.HTTP_URL: "http://0.0.0.0/",
285285
}
286286
)
287+
# TODO:self possibly update span name to just method
287288
return expected
288289

289290
self.scope["server"] = None

0 commit comments

Comments
 (0)