Skip to content
Permalink
Browse files

Make test resilient to postgis versions

  • Loading branch information
elpaso authored and nyalldawson committed Sep 24, 2020
1 parent ef6a7e5 commit 411433c8cbfc959d5b1f0fa8c68db3955d40d7f2
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/python/test_qgsproviderconnection_postgres.py
@@ -336,7 +336,7 @@ def test_fields_no_pk(self):
conn = md.createConnection(self.uri, {})
self.assertTrue(conn.tableExists('public', 'raster_columns'))
fields = conn.fields("public", "raster_columns")
self.assertEqual(fields.names(), [
self.assertTrue(set(fields.names()).issuperset({
'r_table_catalog',
'r_table_schema',
'r_table_name',
@@ -352,7 +352,7 @@ def test_fields_no_pk(self):
'pixel_types',
'nodata_values',
'out_db',
'spatial_index'])
'spatial_index'}))


if __name__ == '__main__':

0 comments on commit 411433c

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