#NEWLINE# def test_post_settings_with_admin( self ) : #NEWLINE# #INDENT# response = self . post ( self . admin ) #NEWLINE# self . assertEqual ( response . status_code , status . HTTP_200_OK ) #NEWLINE# self . assertNotContains ( response , 'You are not member of the administrators group of this project and therefore not allowed to alter the settings of the project' ) #NEWLINE# ref = Group . objects . get ( pk = self . usergroup . id ) #NEWLINE# self . assertEqual ( self . data . get ( 'name' ) , ref . name ) #NEWLINE# self . assertEqual ( self . data . get ( 'description' ) , ref . description )