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