Skip to content
Permalink
Browse files

Fix Travis test (works locally though)

  • Loading branch information
rduivenvoorde committed Nov 18, 2020
1 parent 40ebdc8 commit 5558bd593a28cd77431cd18bba5a437b5da2d486
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/python/test_provider_oracle.py
@@ -824,7 +824,7 @@ def testEvaluateDefaultValues(self):

def testCreateEmptyLayer(self):
uri = self.dbconn + "srid=4326 type=POINT table=\"EMPTY_LAYER\" (GEOM)"
exporter = QgsVectorLayerExporter(uri=uri, provider='oracle', fields=QgsFields(), geometryType=QgsWkbTypes.Type.Point, crs=QgsCoordinateReferenceSystem(4326), overwrite=True)
exporter = QgsVectorLayerExporter(uri=uri, provider='oracle', fields=QgsFields(), geometryType=QgsWkbTypes.Point, crs=QgsCoordinateReferenceSystem(4326), overwrite=True)
self.assertEqual(exporter.errorCount(), 0)
self.assertEqual(exporter.errorCode(), 0)
# check IF there is an empty table (will throw error if the EMPTY_LAYER table does not excist)

0 comments on commit 5558bd5

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