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 00d0a06 commit 8d4ef80377d735734ff601e38a2e0d1ef436ec4f
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 8d4ef80

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