Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix PyQgsAtlasComposition and PyQgsComposerLabel test
  • Loading branch information
jef-n committed Sep 25, 2013
1 parent a95bd7d commit a17787b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsatlascomposition.py
Expand Up @@ -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] )
Expand Down
2 changes: 1 addition & 1 deletion tests/src/python/test_qgscomposerlabel.py
Expand Up @@ -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] )
Expand Down

0 comments on commit a17787b

Please sign in to comment.