Skip to content

Commit

Permalink
update asgi tests
Browse files Browse the repository at this point in the history
  • Loading branch information
macieyng committed Apr 15, 2023
1 parent d01c96f commit 54ff3d4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def validate_outputs(self, outputs, error=None, modifiers=None):
"attributes": {"type": "http.response.body"},
},
{
"name": "/",
"name": "GET /",
"kind": trace_api.SpanKind.SERVER,
"attributes": {
SpanAttributes.HTTP_METHOD: "GET",
Expand Down Expand Up @@ -284,6 +284,7 @@ def update_expected_server(expected):
SpanAttributes.HTTP_URL: "http://0.0.0.0/",
}
)
# TODO:self possibly update span name to just method
return expected

self.scope["server"] = None
Expand Down

0 comments on commit 54ff3d4

Please sign in to comment.