#NEWLINE# def test_results_retreival( self ) : #NEWLINE# #INDENT# expected_return = { #NEWLINE# #INDENT# 'listing' : [ 'foo/baz.txt' , 'foo/test.txt' ] , #NEWLINE# #UNINDENT# } #NEWLINE# response = test_app . get ( 'http://localhost:8082/dir/results//foo' ) #NEWLINE# response_json = response . json #NEWLINE# self . assertDictEqual ( response_json , expected_return )