#NEWLINE# def test_is_author_or_collaborator_when_superuser_and_skip_superuser_rights( self ) : #NEWLINE# #INDENT# result = ( is_author | is_collabolator ) ( self . superuser , skip_superuser_rights = True ) #NEWLINE# self . assertEqual ( str ( result ) , "(OR: ('author', {u}), ('collaborators', {u}))" . format ( u = repr ( self . superuser ) ) )