Skip to content

Commit

Permalink
Don't forget to rollback at the end of the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
troopa81 authored and nyalldawson committed Jan 8, 2020
1 parent aebb32b commit 28f70c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/src/python/test_provider_oracle.py
Expand Up @@ -379,6 +379,9 @@ def testTransactionDirty(self):
ft1 = vl.getFeatures('pk=1')
self.assertFalse(ft1.nextFeature(f))

# rollback
vl.rollBack()

def testTransactionTuple(self):
# create a vector layer based on postgres
vl = QgsVectorLayer(
Expand Down

0 comments on commit 28f70c0

Please sign in to comment.