#NEWLINE# def test_head_no_value( self ) : #NEWLINE# #INDENT# MockHeadResource = mock . Mock ( spec = HeadableResource ) #NEWLINE# instance = mock . Mock ( ) #NEWLINE# MockHeadResource . return_value = self #NEWLINE# self . sot . _head ( MockHeadResource ) #NEWLINE# MockHeadResource . assert_called_with ( ) #NEWLINE# instance . head . assert_called_with ( self . session )