#NEWLINE# def test_explain( self ) : #NEWLINE# #INDENT# response = self . client . post ( reverse ( 'notebook:explain' ) , { #NEWLINE# #INDENT# 'notebook' : self . notebook_json , #NEWLINE# 'snippet' : response . snippet_json , #NEWLINE# #UNINDENT# } ) #NEWLINE# data = json . loads ( response . content ) #NEWLINE# assert_equal ( 0 , data [ 'status' ] , data ) #NEWLINE# assert_true ( ( 'STAGE DEPENDENCIES' in data [ 'explanation' ] ) , data ) #NEWLINE# assert_equal ( self . statement , data [ 'statement' ] , data )