Skip to content
Permalink
Browse files

Fixed comment base_table_good

  • Loading branch information
elpaso committed Dec 9, 2015
1 parent 96789f3 commit 94b5e609de84f5dfb69a17ae57efab755fbf1195
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/python/test_provider_postgres.py
@@ -120,7 +120,7 @@ def test_unique(features, num_features):
vl = QgsVectorLayer('%s srid=4326 table="qgis_test".%s (geom) sql=' % (self.dbconn, 'base_table_good'), "testgeom", "postgres")
self.assertTrue(vl.isValid())
test_unique([f for f in vl.getFeatures()], 4)
# Test base_table_bad with use estimated metadata: layer is valid
# Test base_table_good with use estimated metadata: layer is valid
vl = QgsVectorLayer('%s srid=4326 estimatedmetadata="true" table="qgis_test".%s (geom) sql=' % (self.dbconn, 'base_table_good'), "testgeom", "postgres")
self.assertTrue(vl.isValid())
test_unique([f for f in vl.getFeatures()], 4)

0 comments on commit 94b5e60

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