"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "python/plugins/processing/tests/GdalAlgorithmsGeneralTest.py" between
QGIS-final-3_10_11.tar.gz and QGIS-final-3_10_12.tar.gz

About: QGIS (Quantum GIS) is a Geographic Information System that supports vector, raster, and database formats. Long-term release (3.10.x series).

GdalAlgorithmsGeneralTest.py  (QGIS-final-3_10_11):GdalAlgorithmsGeneralTest.py  (QGIS-final-3_10_12)
skipping to change at line 333 skipping to change at line 333
self.assertEqual(GdalUtils.gdal_crs_string(crs), self.assertEqual(GdalUtils.gdal_crs_string(crs),
'+proj=utm +zone=36 +south +a=600000 +b=70000 +towg s84=-143,-90,-294,0,0,0,0 +units=m +no_defs') '+proj=utm +zone=36 +south +a=600000 +b=70000 +towg s84=-143,-90,-294,0,0,0,0 +units=m +no_defs')
# check that newlines are stripped # check that newlines are stripped
crs = QgsCoordinateReferenceSystem() crs = QgsCoordinateReferenceSystem()
crs.createFromProj( crs.createFromProj(
'+proj=utm +zone=36 +south\n +a=600000 +b=70000 \r\n +tow gs84=-143,-90,-294,0,0,0,0 +units=m\n+no_defs') '+proj=utm +zone=36 +south\n +a=600000 +b=70000 \r\n +tow gs84=-143,-90,-294,0,0,0,0 +units=m\n+no_defs')
self.assertTrue(crs.isValid()) self.assertTrue(crs.isValid())
self.assertEqual(GdalUtils.gdal_crs_string(crs), self.assertEqual(GdalUtils.gdal_crs_string(crs),
'+proj=utm +zone=36 +south +a=600000 +b=70000 +towgs84=-143,-90,-294,0,0,0,0 +units=m +no_defs') '+proj=utm +zone=36 +south +a=600000 +b=70000 +towgs84=-143,-90,-294,0,0,0,0 +units=m +no_defs')
def testEscapeAndJoin(self):
self.assertEqual(GdalUtils.escapeAndJoin([1, "a", "a b", "a&b"]), '1 a "
a b" "a&b"')
if __name__ == '__main__': if __name__ == '__main__':
nose2.main() nose2.main()
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)