File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
instrumentation/opentelemetry-instrumentation-tornado/tests Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -480,13 +480,12 @@ async def test_websockethandler(self):
480480 self .assertSpanHasAttributes (
481481 req_span ,
482482 {
483- SpanAttributes .HTTP_METHOD : "GET" ,
484- SpanAttributes .HTTP_SCHEME : "http" ,
485- SpanAttributes .HTTP_HOST : "127.0.0.1:"
486- + str (self .get_http_port ()),
487- SpanAttributes .HTTP_TARGET : "/echo_socket" ,
488- SpanAttributes .HTTP_CLIENT_IP : "127.0.0.1" ,
489- SpanAttributes .HTTP_STATUS_CODE : 101 ,
483+ HTTP_METHOD : "GET" ,
484+ HTTP_SCHEME : "http" ,
485+ HTTP_HOST : f"127.0.0.1:{ self .get_http_port ()} " ,
486+ HTTP_TARGET : "/echo_socket" ,
487+ HTTP_CLIENT_IP : "127.0.0.1" ,
488+ HTTP_STATUS_CODE : 101 ,
490489 "tornado.handler" : "tests.tornado_test_app.EchoWebSocketHandler" ,
491490 },
492491 )
You can’t perform that action at this time.
0 commit comments