raise an ContentNotRenderedError exception with an string 'The response content must be rendered before it can be iterated over.'.
raise ContentNotRenderedError ( 'The response content must be ' 'rendered before it can be iterated over.' )