#NEWLINE# def test_list_view( self ) : #NEWLINE# #INDENT# v = views . BuildableListView ( queryset = [ 1 , 2 , 3 ] , template_name = 'listview.html' , build_path = 'foo.html' ) #NEWLINE# v . build_method #NEWLINE# v . build_queryset ( ) #NEWLINE# build_path = os . path . join ( settings . BUILD_DIR , 'foo.html' ) #NEWLINE# self . assertTrue ( os . path . exists ( build_path ) ) #NEWLINE# os . remove ( build_path ) #NEWLINE# v = views . BuildableListView ( queryset = [ 1 , 2 , 3 ] , template_name = 'listview.html' , build_path = 'foo/bar.html' ) #NEWLINE# v . build_method #NEWLINE# v . build_queryset ( ) #NEWLINE# build_path = os . path . join ( settings . BUILD_DIR , 'foo' , 'bar.html' ) #NEWLINE# self . assertTrue ( os . path . exists ( build_path ) ) #NEWLINE# os . remove ( build_path )