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