#NEWLINE# def test_head_method_serializes_no_content( self ) : #NEWLINE# #INDENT# 'No response must be included in HEAD requests.' #NEWLINE# resp = self . client . head ( '/' ) #NEWLINE# self . assertEqual ( resp . status_code , DUMMYSTATUS ) #NEWLINE# self . assertEqual ( resp [ 'Content-Type' ] , ( RendererA . media_type + '; charset=utf-8' ) ) #NEWLINE# self . assertEqual ( resp . content , six . b ( '' ) )