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