Skip to content

Commit d1e0396

Browse files
luipirelpaso
andauthored
Update tests/src/python/test_provider_postgres.py
Co-Authored-By: elpaso <elpaso@itopen.it>
1 parent 16b8b0f commit d1e0396

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/python/test_provider_postgres.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1119,7 +1119,7 @@ def testCheckPkUnicityOnView(self):
11191119
vl0 = QgsVectorLayer(self.dbconn + ' sslmode=disable key=\'an_int\' srid=0 type=POINT table="qgis_test"."b21839_pk_unicity_view" (geom) sql=', 'test', 'postgres', options)
11201120
self.assertTrue(vl0.isValid())
11211121

1122-
# Valid because a_unique_int is unique
1122+
# Valid because a_unique_int is unique and default is to check unicity
11231123
vl0 = QgsVectorLayer(self.dbconn + ' sslmode=disable key=\'a_unique_int\' srid=0 type=POINT table="qgis_test"."b21839_pk_unicity_view" (geom) sql=', 'test', 'postgres')
11241124
self.assertEqual(vl0.getFeature(1).geometry().asWkt(), geom)
11251125

0 commit comments

Comments
 (0)