Changeset 7104
- Timestamp:
- May 27, 2009, 4:23:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/utilities/test_csv_tools.py
r7102 r7104 6 6 import csv 7 7 8 import csv_ utils8 import csv_tools 9 9 10 10 … … 68 68 69 69 file_title_list = [(self.filenames[0], 'test')] 70 csv_ utils.merge_csv_key_values(file_title_list, self.OUTPUT_FILE,70 csv_tools.merge_csv_key_values(file_title_list, self.OUTPUT_FILE, 71 71 key_col='col_0', data_col='col_3') 72 72 … … 103 103 file_title_list = [(self.filenames[0], 'test0'), 104 104 (self.filenames[1], 'test1')] 105 csv_ utils.merge_csv_key_values(file_title_list, self.OUTPUT_FILE,105 csv_tools.merge_csv_key_values(file_title_list, self.OUTPUT_FILE, 106 106 key_col='col_0', data_col='col_3') 107 107 … … 138 138 file_title_list = [(self.filenames[0], 'test0'), 139 139 (self.filenames[1], 'test1')] 140 csv_ utils.merge_csv_key_values(file_title_list, self.OUTPUT_FILE,140 csv_tools.merge_csv_key_values(file_title_list, self.OUTPUT_FILE, 141 141 key_col='col_0', data_col='col_2') 142 142 … … 175 175 (self.filenames[2], 'test2'), 176 176 (self.filenames[3], 'test3')] 177 csv_ utils.merge_csv_key_values(file_title_list, self.OUTPUT_FILE,177 csv_tools.merge_csv_key_values(file_title_list, self.OUTPUT_FILE, 178 178 key_col='col_0', data_col='col_2') 179 179 … … 218 218 (self.filenames[8], 'test8'), 219 219 (self.filenames[9], 'test9')] 220 csv_ utils.merge_csv_key_values(file_title_list, self.OUTPUT_FILE,220 csv_tools.merge_csv_key_values(file_title_list, self.OUTPUT_FILE, 221 221 key_col='col_1', data_col='col_2') 222 222 … … 254 254 (self.filenames[2], 'test2')] 255 255 self.failUnlessRaises(Exception, 256 csv_ utils.merge_csv_key_values,256 csv_tools.merge_csv_key_values, 257 257 file_title_list, 258 258 self.OUTPUT_FILE, … … 268 268 (self.filenames[2], 'test2')] 269 269 self.failUnlessRaises(Exception, 270 csv_ utils.merge_csv_key_values,270 csv_tools.merge_csv_key_values, 271 271 file_title_list, 272 272 self.OUTPUT_FILE, … … 293 293 (test_filename, 'test2')] 294 294 self.failUnlessRaises(Exception, 295 csv_ utils.merge_csv_key_values,295 csv_tools.merge_csv_key_values, 296 296 file_title_list, 297 297 self.OUTPUT_FILE, … … 324 324 (test_filename, 'test2')] 325 325 self.failUnlessRaises(Exception, 326 csv_ utils.merge_csv_key_values,326 csv_tools.merge_csv_key_values, 327 327 file_title_list, 328 328 self.OUTPUT_FILE,
Note: See TracChangeset
for help on using the changeset viewer.