Skip to content
Permalink
Browse files

fix PyQgsAtlasComposition and PyQgsComposerLabel test

  • Loading branch information
jef-n committed Sep 25, 2013
1 parent a95bd7d commit a17787b36acc03b29f2b4ea7fc54d00860abbea8
Showing with 2 additions and 2 deletions.
  1. +1 −1 tests/src/python/test_qgsatlascomposition.py
  2. +1 −1 tests/src/python/test_qgscomposerlabel.py
@@ -29,7 +29,7 @@ class TestQgsAtlasComposition(unittest.TestCase):

def testCase(self):
self.TEST_DATA_DIR = unitTestDataPath()
vectorFileInfo = QFileInfo( self.TEST_DATA_DIR + QDir().separator() + "france_parts.shp")
vectorFileInfo = QFileInfo( self.TEST_DATA_DIR + "/france_parts.shp")
mVectorLayer = QgsVectorLayer( vectorFileInfo.filePath(), vectorFileInfo.completeBaseName(), "ogr" )

QgsMapLayerRegistry.instance().addMapLayers( [mVectorLayer] )
@@ -28,7 +28,7 @@ class TestQgsComposerLabel(unittest.TestCase):

def testCase(self):
TEST_DATA_DIR = unitTestDataPath()
vectorFileInfo = QFileInfo( TEST_DATA_DIR + QDir().separator() + "france_parts.shp")
vectorFileInfo = QFileInfo( TEST_DATA_DIR + "/france_parts.shp")
mVectorLayer = QgsVectorLayer( vectorFileInfo.filePath(), vectorFileInfo.completeBaseName(), "ogr" )

QgsMapLayerRegistry.instance().addMapLayers( [mVectorLayer] )

0 comments on commit a17787b

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