#NEWLINE# def test_convert_numpy_data_files( self ) : #NEWLINE# #INDENT# source_dir = 'foo/bar' #NEWLINE# files = [ op . join ( source_dir , f ) for f in [ 'foufou' , 'fubar' ] ] #NEWLINE# for f in files : #NEWLINE# #INDENT# node = self . top_node . make_node ( f ) #NEWLINE# node . parent . mkdir ( ) #NEWLINE# node . write ( '' ) #NEWLINE# #UNINDENT# ( pkg_name , source_dir , target_dir , files ) = _convert_numpy_data_files ( self . top_node , source_dir , files ) #NEWLINE# self . assertEqual ( pkg_name , 'foo.bar' )