mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-02 00:02:12 -05:00
Load test table for PG raster test
This commit is contained in:
parent
41f6d729a7
commit
e833a64dd1
@ -267,6 +267,8 @@ class TestPyQgsPostgresRasterProvider(unittest.TestCase):
|
||||
def testSetSubsetString(self):
|
||||
"""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')
|
||||
self.assertTrue(rl.isValid())
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user