Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix indentation
  • Loading branch information
m-kuhn committed Mar 24, 2016
1 parent a46efee commit f669af0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/src/python/test_qgsvectorlayer.py
Expand Up @@ -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()
Expand All @@ -331,7 +331,7 @@ def checkAfter():
def checkBefore():
# check feature
with self.assertRaises(StopIteration):
layer.getFeatures().next()
layer.getFeatures().next()

checkBefore()

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

checkBefore()

Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit f669af0

Please sign in to comment.