#NEWLINE# def test_get_root( self ) : #NEWLINE# #INDENT# response = self . client . get ( '/?format=api' ) #NEWLINE# content = response . content . decode ( 'utf-8' ) #NEWLINE# self . assertIn ( 'directory' , content ) #NEWLINE# self . assertIn ( '/horses' , content ) #NEWLINE# self . assertIn ( '/zebras' , content ) #NEWLINE# self . assertIn ( '/users' , content )