Skip to content
Permalink
Browse files

Will travis like this?

  • Loading branch information
nirvn committed Mar 15, 2020
1 parent 1c5fa2d commit abf537e07ee0fa125a78986bd9df0db6abb68726
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/python/test_provider_spatialite.py
@@ -770,7 +770,7 @@ def testSubsetStringRegexp(self):
testPath = "dbname=%s table='test_filter' (geometry) key='id'" % self.dbname
vl = QgsVectorLayer(testPath, 'test', 'spatialite')
self.assertTrue(vl.isValid())
vl.setSubsetString('"name" REGEXP \'[txe]\'')
vl.setSubsetString('"name" REGEXP \'[txe]{3}\'')
self.assertEqual(vl.featureCount(), 4)
del(vl)

@@ -837,7 +837,7 @@ def testEncodeUri(self):

parts = {'path': filename, 'layerName': 'test'}
uri = registry.encodeUri('spatialite', parts)
self.assertEqual(uri, 'dbname=\'{}\' table="test" (geometry) sql='.format(filename))
self.assertEqual(uri, 'dbname=\'{}\' table="test"'.format(filename))

def testPKNotInt(self):
""" Check when primary key is not an integer """

0 comments on commit abf537e

Please sign in to comment.
You can’t perform that action at this time.