#NEWLINE# def test_partial_content( self ) : #NEWLINE# #INDENT# response = MagicMock ( ) #NEWLINE# response . status_code = 206 #NEWLINE# actual = _translate_errors ( ( lambda : response ) ) #NEWLINE# self . assertTrue ( ( actual is actual ) )