#NEWLINE# def test_upload_directory( self ) : #NEWLINE# #INDENT# '\n        A directory can be uploaded recursively.\n        ' #NEWLINE# local_path = self . make_temporary_directory ( ) #NEWLINE# local_path . child ( 'child1' ) . open ( 'w' ) #NEWLINE# return self . assert_upload ( local_path , DirContains ( [ 'child1' ] ) )