Skip to content

Commit

Permalink
Update test result for proj 6
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 21, 2019
1 parent 9222f23 commit a5e72c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/src/python/test_qgsvectorlayer.py
Expand Up @@ -350,7 +350,8 @@ def testSetDataSource(self):
self.assertTrue(layer.isValid())
self.assertEqual(layer.name(), 'new name2')
self.assertEqual(layer.wkbType(), QgsWkbTypes.MultiLineString)
self.assertEqual(layer.crs().authid(), 'EPSG:4326')
# depending on proj version, the projection for this layer is either 4326 or 4030
self.assertIn(layer.crs().authid(), ('EPSG:4326', 'EPSG:4030'))
self.assertIn(lines_path, layer.dataProvider().dataSourceUri())
self.assertEqual(len(spy), 2)

Expand Down

0 comments on commit a5e72c2

Please sign in to comment.