#NEWLINE# def test_user_is_not_owner( self ) : #NEWLINE# #INDENT# 'user_is_owner should be False.' #NEWLINE# user = self . create_user ( ) #NEWLINE# group = mommy . make ( 'groups.Group' ) #NEWLINE# self . client . login ( username = user . email , password = 'moo' ) #NEWLINE# response = self . client . get ( reverse ( 'group_members' , kwargs = { #NEWLINE# #INDENT# 'pk' : group . pk , #NEWLINE# #UNINDENT# } ) ) #NEWLINE# self . assertFalse ( response . context [ 'user_is_owner' ] )