Skip to content

Commit

Permalink
Load test table for PG raster test
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Mar 4, 2020
1 parent 41f6d72 commit e833a64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/python/test_provider_postgresraster.py
Expand Up @@ -267,6 +267,8 @@ def testUntiledMultipleRows(self):
def testSetSubsetString(self): def testSetSubsetString(self):
"""Test setSubsetString""" """Test setSubsetString"""


self._load_test_table('public', 'raster_3035_untiled_multiple_rows')

rl = QgsRasterLayer(self.dbconn + " sslmode=disable table={table} schema={schema} sql=\"pk\" = 2".format(table='raster_3035_untiled_multiple_rows', schema='public'), 'pg_layer', 'postgresraster') rl = QgsRasterLayer(self.dbconn + " sslmode=disable table={table} schema={schema} sql=\"pk\" = 2".format(table='raster_3035_untiled_multiple_rows', schema='public'), 'pg_layer', 'postgresraster')
self.assertTrue(rl.isValid()) self.assertTrue(rl.isValid())


Expand Down

0 comments on commit e833a64

Please sign in to comment.