#NEWLINE# def test_no_args( self ) : #NEWLINE# #INDENT# parser = Mock ( ) #NEWLINE# token = Mock ( ) #NEWLINE# token . split_contents = Mock ( return_value = ( 'tagname' , ) ) #NEWLINE# self . assertRaises ( template . TemplateSyntaxError , do_stwimage , parser , token )