#NEWLINE# def test_no_rules( self ) : #NEWLINE# #INDENT# request = HttpRequest ( ) #NEWLINE# for method in ( 'GET' , 'POST' , 'PUT' , 'DELETE' ) : #NEWLINE# #INDENT# request . method = method #NEWLINE# self . assertTrue ( NoRulesNoteResource ( ) . _meta . authorization . is_authorized ( method ) )