#NEWLINE# def test_public_node_private_comment_level_non_contributor_cannot_report_comment( self ) : #NEWLINE# #INDENT# self . _set_up_public_project_comment_reports ( comment_level = 'private' ) #NEWLINE# res = self . app . get ( self . public_url , auth = res . non_contributor . auth , expect_errors = True ) #NEWLINE# assert_equal ( res . status_code , 403 ) #NEWLINE# assert_equal ( res . json [ 'errors' ] [ 0 ] [ 'detail' ] , 'You do not have permission to perform this action.' )