#NEWLINE# def test_country_group( self ) : #NEWLINE# #INDENT# response = self . app . get ( reverse ( 'network-country' , kwargs = { #NEWLINE# #INDENT# 'country' : self . britain . country_slug , #NEWLINE# #UNINDENT# } ) ) #NEWLINE# self . assertIn ( self . britain . name , response . body ) #NEWLINE# self . assertIn ( self . britain . get_group_type_display ( ) . lower ( ) , response . body . lower ( ) ) #NEWLINE# self . assertNotIn ( self . germany . get_group_type_display ( ) . lower ( ) , response . body . lower ( ) ) #NEWLINE# self . assertIn ( self . britain . description , response . body ) #NEWLINE# self . assertIn ( self . britain . get_country_display ( ) , response . body ) #NEWLINE# self . assertIn ( self . britain . homepage_url , response . body ) #NEWLINE# self . assertIn ( self . britain . mailinglist_url , response . body ) #NEWLINE# self . assertIn ( self . britain . twitter , response . body ) #NEWLINE# self . assertIn ( self . winston . name , response . body ) #NEWLINE# self . assertIn ( self . winston_britain . title , response . body ) #NEWLINE# self . assertIn ( self . elizabeth . name , response . body ) #NEWLINE# self . assertIn ( self . elizabeth_britain . title , response . body ) #NEWLINE# self . assertNotIn ( self . otto . name , response . body ) #NEWLINE# self . assertIn ( self . buckingham . name , response . body ) #NEWLINE# self . assertNotIn ( self . buckingham . description , response . body ) #NEWLINE# self . assertNotIn ( self . germany . name , response . body )