Skip to content

Commit

Permalink
More formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
espinafre committed Apr 16, 2020
1 parent 2fae4c4 commit 5f5e39f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/python/test_provider_postgres.py
Expand Up @@ -468,7 +468,7 @@ def testPktUpdateBigintPk(self):
statuses[2] = 1
elif ft['value'] == '-1th value':
statuses[3] = 1
self.assertTrue(all( x == 1 for x in statuses))
self.assertTrue(all(x == 1 for x in statuses))

def testPktUpdateBigintPkNonFirst(self):
"""Test if we can update objects with positive, zero and negative bigint PKs in tables whose PK is not the first field"""
Expand Down Expand Up @@ -509,7 +509,7 @@ def testPktUpdateBigintPkNonFirst(self):
statuses[2] = 1
elif ft['value'] == '-1th value':
statuses[3] = 1
self.assertTrue(all(x == 1 for x in statuses ))
self.assertTrue(all(x == 1 for x in statuses))

def testPktMapInsert(self):
vl = QgsVectorLayer('{} table="qgis_test"."{}" key="obj_id" sql='.format(self.dbconn, 'oid_serial_table'), "oid_serial", "postgres")
Expand Down

0 comments on commit 5f5e39f

Please sign in to comment.