Skip to content
Permalink
Browse files

Re-enable the test on travis with a fix

  • Loading branch information
elpaso committed Jun 5, 2018
1 parent a8ce494 commit b97e8351a237b519b36d7127e87706b34b88b80d
Showing with 5 additions and 1 deletion.
  1. +5 −0 tests/src/python/provider_python.py
  2. +0 −1 tests/src/python/test_provider_python.py
@@ -62,6 +62,11 @@ def __init__(self, source, request):
self._transform = QgsCoordinateTransform()
if self._request.destinationCrs().isValid() and self._request.destinationCrs() != self._source._provider.crs():
self._transform = QgsCoordinateTransform(self._source._provider.crs(), self._request.destinationCrs(), self._request.transformContext())
try:
self._filter_rect = self.filterRectToSourceCrs(self._transform)
except QgsCsException as e:
self.close()
return
self._filter_rect = self.filterRectToSourceCrs(self._transform)
if not self._filter_rect.isNull():
self._select_rect_geom = QgsGeometry.fromRect(self._filter_rect)
@@ -155,7 +155,6 @@ def testGetFeaturesNoGeometry(self):
"""
pass

@unittest.skipIf(os.environ.get("TRAVIS", False), "Skipped on Travis")
def testGetFeaturesDestinationCrs(self):
"""Skip this if on travis, passes locally and fails with no reason on Travis"""
super().testGetFeaturesDestinationCrs()

0 comments on commit b97e835

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