Skip to content

Commit 50fe59b

Browse files
use http.request.method
1 parent d688f01 commit 50fe59b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/integrations/stdlib/test_httplib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ def test_proxy_http_tunnel(
984984
span["attributes"][SPANDATA.URL_FULL]
985985
== f"http://api.example.com{port_modifier}/foo"
986986
)
987-
assert span["attributes"][SPANDATA.HTTP_METHOD] == "GET"
987+
assert span["attributes"][SPANDATA.HTTP_REQUEST_METHOD] == "GET"
988988
assert span["attributes"][SPANDATA.NETWORK_PEER_ADDRESS] == "localhost"
989989
assert span["attributes"][SPANDATA.NETWORK_PEER_PORT] == PROXY_PORT
990990
else:

0 commit comments

Comments
 (0)