#NEWLINE# def test_length_wo_content_length_w_content_range( self ) : #NEWLINE# #INDENT# CONTENT = 'CONTENT' #NEWLINE# URL = 'http://example.com/api' #NEWLINE# RANGE = 'bytes 0-122/5678' #NEWLINE# info = { #NEWLINE# #INDENT# 'status' : '200' , #NEWLINE# 'content-range' : RANGE , #NEWLINE# #UNINDENT# } #NEWLINE# response = self . _makeOne ( response , CONTENT , URL ) #NEWLINE# self . assertEqual ( len ( response ) , 123 )