Skip to content
Permalink
Browse files

Fix indentation

  • Loading branch information
m-kuhn committed Mar 24, 2016
1 parent a46efee commit f669af06fa22e3b9c9fdf6fe5488228ccaf5a721
Showing with 5 additions and 5 deletions.
  1. +5 −5 tests/src/python/test_qgsvectorlayer.py
@@ -321,7 +321,7 @@ def checkAfter():
self.assertEquals(attrs[1], 12)

with self.assertRaises(StopIteration):
fi.next()
fi.next()

# check feature at id
f2 = layer.getFeatures(QgsFeatureRequest(f.id())).next()
@@ -331,7 +331,7 @@ def checkAfter():
def checkBefore():
# check feature
with self.assertRaises(StopIteration):
layer.getFeatures().next()
layer.getFeatures().next()

checkBefore()

@@ -456,7 +456,7 @@ def checkAfter():
def checkBefore():
# check feature
with self.assertRaises(StopIteration):
layer.getFeatures().next()
layer.getFeatures().next()

checkBefore()

@@ -561,7 +561,7 @@ def checkBefore():
self.assertEquals(len(layer.pendingFields()), 2)
# check feature
with self.assertRaises(StopIteration):
layer.getFeatures().next()
layer.getFeatures().next()

def checkAfter():
self.assertEquals(len(layer.pendingFields()), 3)
@@ -741,7 +741,7 @@ def checkBefore():
self.assertEquals(len(layer.pendingFields()), 2)
# check feature
with self.assertRaises(StopIteration):
layer.getFeatures().next()
layer.getFeatures().next()

def checkAfter1():
self.assertEquals(len(layer.pendingFields()), 2)

0 comments on commit f669af0

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