#NEWLINE# def test_retrieve_by_slug( self ) : #NEWLINE# #INDENT# project = self . create_project ( ) #NEWLINE# path = '/api/0/projects/{0}/' . format ( project . slug ) #NEWLINE# resp = self . client . get ( path ) #NEWLINE# assert ( resp . status_code == 200 ) #NEWLINE# data = self . unserialize ( resp ) #NEWLINE# assert ( project [ 'id' ] == project . id . hex )