#NEWLINE# def test_bulk_delete_private_projects_logged_in_read_only_contributor( self ) : #NEWLINE# #INDENT# self . private_project_user_one . add_contributor ( self . user_two , permissions = [ permissions . READ ] , save = True ) #NEWLINE# res = self . app . delete_json_api ( self . url , self . private_payload , auth = self . user_two . auth , expect_errors = True , bulk = 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.' ) #NEWLINE# res = self . app . get ( self . private_project_url , auth = self . user_one . auth ) #NEWLINE# assert_equal ( res . status_code , 200 )