Skip to content

Commit

Permalink
Update tests/src/python/test_provider_virtual.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 31, 2024
1 parent 09c85fe commit c546ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/python/test_provider_virtual.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def test_Query(self):
# check that it fails when a query has a wrong geometry column
l2 = QgsVectorLayer(f"?layer_ref={l1.id()}&query={query}&geometry=geo", "vtab", "virtual",
QgsVectorLayer.LayerOptions(False))
self.assertTrue(l2.isValid())
self.assertFalse(l2.isValid())

QgsProject.instance().removeMapLayer(l1.id())

Expand Down

0 comments on commit c546ad0

Please sign in to comment.