#NEWLINE# def test_definition_update_preserves_permissions( self ) : #NEWLINE# #INDENT# self . app . put_json ( '/models/test/definition' , MODEL_DEFINITION [ 'definition' ] , headers = self . headers ) #NEWLINE# resp = self . app . get ( '/models/test/permissions' , headers = self . headers ) #NEWLINE# self . assertIn ( 'system.Everyone' , resp . json )