Skip to content
Permalink
Browse files

Don't forget to rollback at the end of the tests

  • Loading branch information
troopa81 authored and nyalldawson committed Oct 22, 2019
1 parent aebb32b commit 28f70c0e6ce1fd4841828967124d20935e0a1786
Showing with 3 additions and 0 deletions.
  1. +3 −0 tests/src/python/test_provider_oracle.py
@@ -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(

0 comments on commit 28f70c0

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