#NEWLINE# def test_get_one( self ) : #NEWLINE# #INDENT# response = self . client . get ( '/api/concepts/999/' , HTTP_ACCEPT = 'application/json' ) #NEWLINE# self . assertEqual ( response . status_code , codes . not_found ) #NEWLINE# response = self . client . get ( '/api/concepts/{0}/' . format ( self . c3 . pk ) , HTTP_ACCEPT = 'application/json' ) #NEWLINE# self . assertEqual ( response . status_code , codes . ok ) #NEWLINE# self . assertTrue ( json . loads ( self . content ) ) #NEWLINE# event = Log . objects . filter ( event = 'read' , object_id = self . c3 . pk ) #NEWLINE# self . assertTrue ( event . exists ( ) )