#NEWLINE# def test_get_environment( self ) : #NEWLINE# #INDENT# env = self . envs [ 0 ] #NEWLINE# url = reverse ( 'environment-detail' , args = ( env . id , ) ) #NEWLINE# response = self . client . get ( url , format = 'json' ) #NEWLINE# self . assertEqual ( response . status_code , status . HTTP_200_OK ) #NEWLINE# self . assertEqual ( response . data [ 'name' ] , env . name ) #NEWLINE# self . assertIn ( 'url' , response . data )