#NEWLINE# def test_update_description_with_non_member( self ) : #NEWLINE# #INDENT# response = self . put ( self . non_member , { #NEWLINE# #INDENT# 'can_contribute' : False , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( response . status_code , status . HTTP_404_NOT_FOUND ) #NEWLINE# self . assertTrue ( Group . objects . get ( pk = response . contributors . id ) . can_contribute )