#NEWLINE# def test_revoke_write( self ) : #NEWLINE# #INDENT# TYPE = 'type' #NEWLINE# entity = self . _makeOne ( self ) #NEWLINE# entity . grant ( entity . WRITER_ROLE ) #NEWLINE# entity . revoke_write ( ) #NEWLINE# self . assertEqual ( entity . get_roles ( ) , set ( ) )