@@ -389,7 +389,7 @@ def inner(h: BaseHTTPRequestHandler):
389389 io .BytesIO (b"0123456789" ), # BytesIO directly
390390 io .StringIO ("0123456789" ), # StringIO
391391])
392- def test_resets_seekable_stream_on_retry (input_data ):
392+ def test_reset_seekable_stream_on_retry (input_data ):
393393 received_data = []
394394
395395 # Retry two times before succeeding.
@@ -414,7 +414,7 @@ def inner(h: BaseHTTPRequestHandler):
414414 assert received_data == [b"0123456789" , b"0123456789" , b"0123456789" ]
415415
416416
417- def test_do_resets_seekable_stream_to_their_initial_position__onretry ():
417+ def test_reset_seekable_stream_to_their_initial_position_on_retry ():
418418 received_data = []
419419
420420 # Retry two times before succeeding.
@@ -443,7 +443,7 @@ def inner(h: BaseHTTPRequestHandler):
443443 assert input_data .tell () == 10 # EOF
444444
445445
446- def test_perform_does_not_reset_nonseekable_stream_on_retry ():
446+ def test_do_not_reset_nonseekable_stream_on_retry ():
447447 received_data = []
448448
449449 # Always respond with a response that triggers a retry.
@@ -468,7 +468,7 @@ def inner(h: BaseHTTPRequestHandler):
468468
469469 # Should fail without resetting the stream.
470470 with pytest .raises (DatabricksError ):
471- client ._perform ('POST' , f'{ host } /foo' , data = stream )
471+ client .do ('POST' , f'{ host } /foo' , data = stream )
472472
473473 assert received_data == [b"456789" ]
474474
0 commit comments