Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 23, 2017
1 parent d8dc0f9 commit 1d043f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/src/python/test_qgsvectorfilewriter.py
Expand Up @@ -727,7 +727,8 @@ def testSupportedFormatExtensions(self):
formats = QgsVectorFileWriter.supportedFormatExtensions()
self.assertTrue('gpkg' in formats)
self.assertFalse('exe' in formats)
self.assertEqual(formats[0], 'shp')
self.assertEqual(formats[0], 'gpkg')
self.assertEqual(formats[1], 'shp')

def testDriverForExtension(self):
self.assertEqual(QgsVectorFileWriter.driverForExtension('shp'), 'ESRI Shapefile')
Expand Down

0 comments on commit 1d043f3

Please sign in to comment.