@@ -330,7 +330,7 @@ def test_007_multiple_quote():
330
330
},
331
331
}
332
332
wanted ['log' ]= [
333
- u'Errors in file file ' ,
333
+ u'Errors in file test.quote ' ,
334
334
u'3 records discarded due to invalid format' ,
335
335
u'The following lines were not loaded into QGIS due to errors:' ,
336
336
u'Invalid record format at line 7' ,
@@ -355,7 +355,7 @@ def test_008_badly_formed_quotes():
355
355
},
356
356
}
357
357
wanted ['log' ]= [
358
- u'Errors in file file ' ,
358
+ u'Errors in file test.badquote ' ,
359
359
u'2 records discarded due to invalid format' ,
360
360
u'The following lines were not loaded into QGIS due to errors:' ,
361
361
u'Invalid record format at line 2' ,
@@ -415,7 +415,7 @@ def test_010_read_coordinates():
415
415
},
416
416
}
417
417
wanted ['log' ]= [
418
- u'Errors in file file ' ,
418
+ u'Errors in file testpt.csv ' ,
419
419
u'1 records discarded due to invalid geometry definitions' ,
420
420
u'The following lines were not loaded into QGIS due to errors:' ,
421
421
u'Invalid X or Y fields at line 4' ,
@@ -460,7 +460,7 @@ def test_011_read_wkt():
460
460
},
461
461
}
462
462
wanted ['log' ]= [
463
- u'Errors in file file ' ,
463
+ u'Errors in file testwkt.csv ' ,
464
464
u'1 records discarded due to invalid geometry definitions' ,
465
465
u'7 records discarded due to incompatible geometry types' ,
466
466
u'The following lines were not loaded into QGIS due to errors:' ,
@@ -506,7 +506,7 @@ def test_012_read_wkt_point():
506
506
},
507
507
}
508
508
wanted ['log' ]= [
509
- u'Errors in file file ' ,
509
+ u'Errors in file testwkt.csv ' ,
510
510
u'1 records discarded due to invalid geometry definitions' ,
511
511
u'7 records discarded due to incompatible geometry types' ,
512
512
u'The following lines were not loaded into QGIS due to errors:' ,
@@ -552,7 +552,7 @@ def test_013_read_wkt_line():
552
552
},
553
553
}
554
554
wanted ['log' ]= [
555
- u'Errors in file file ' ,
555
+ u'Errors in file testwkt.csv ' ,
556
556
u'1 records discarded due to invalid geometry definitions' ,
557
557
u'7 records discarded due to incompatible geometry types' ,
558
558
u'The following lines were not loaded into QGIS due to errors:' ,
@@ -580,7 +580,7 @@ def test_014_read_wkt_polygon():
580
580
},
581
581
}
582
582
wanted ['log' ]= [
583
- u'Errors in file file ' ,
583
+ u'Errors in file testwkt.csv ' ,
584
584
u'1 records discarded due to invalid geometry definitions' ,
585
585
u'10 records discarded due to incompatible geometry types' ,
586
586
u'The following lines were not loaded into QGIS due to errors:' ,
@@ -748,7 +748,7 @@ def test_015_read_dms_xy():
748
748
},
749
749
}
750
750
wanted ['log' ]= [
751
- u'Errors in file file ' ,
751
+ u'Errors in file testdms.csv ' ,
752
752
u'5 records discarded due to invalid geometry definitions' ,
753
753
u'The following lines were not loaded into QGIS due to errors:' ,
754
754
u'Invalid X or Y fields at line 27' ,
@@ -878,7 +878,7 @@ def test_019_regular_expression_3():
878
878
},
879
879
}
880
880
wanted ['log' ]= [
881
- u'Errors in file file ' ,
881
+ u'Errors in file testre2.txt ' ,
882
882
u'1 records discarded due to invalid format' ,
883
883
u'The following lines were not loaded into QGIS due to errors:' ,
884
884
u'Invalid record format at line 3' ,
@@ -1372,9 +1372,9 @@ def test_029_file_watcher():
1372
1372
'Request 2 did not return any data' ,
1373
1373
'Request 7 did not return any data' ,
1374
1374
'Request 11 did not return any data' ,
1375
- u'Errors in file file ' ,
1375
+ u'Errors in file temp_file ' ,
1376
1376
u'The file has been updated by another application - reloading' ,
1377
- u'Errors in file file ' ,
1377
+ u'Errors in file temp_file ' ,
1378
1378
u'The file has been updated by another application - reloading' ,
1379
1379
]
1380
1380
return wanted
@@ -2157,7 +2157,7 @@ def test_036_csvt_file_invalid_types():
2157
2157
},
2158
2158
}
2159
2159
wanted ['log' ]= [
2160
- u'Errors in file file ' ,
2160
+ u'Errors in file testcsvt3.csv ' ,
2161
2161
u'File type string in testcsvt3.csvt is not correctly formatted' ,
2162
2162
]
2163
2163
return wanted
1 commit comments
ccrook commentedon Jun 1, 2013
Hopefully this will fix windows file name mismatches on osgeo build. Will not fix file watcher test case failures...