Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Nov 12, 2016
1 parent 0589566 commit d81533e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/tests/ToolsTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ def _copyFile(dst):
# OGR provider - multiple layers
_copyFile(os.path.join(outdir, 'b.csv'))
name = vector.ogrLayerName(outdir + '|layerid=0')
self.assertEqual(name, 'b')
name = vector.ogrLayerName(outdir + '|layerid=1')
self.assertEqual(name, 'a')
name = vector.ogrLayerName(outdir + '|layerid=1')
self.assertEqual(name, 'b')

name = vector.ogrLayerName(outdir + '|layerid=2')
self.assertIsNone(name)
Expand Down

0 comments on commit d81533e

Please sign in to comment.