Skip a test on travis

This commit is contained in:
Nyall Dawson 2019-12-20 11:08:03 +10:00
parent 8e64277c1c
commit 9902b3cb14

View File

@ -96,7 +96,7 @@ class TestQgsCoordinateOperationWidget(unittest.TestCase):
'+proj=pipeline +step +inv +proj=utm +zone=55 +south +ellps=GRS80 +step +proj=hgridshift +grids=GDA94_GDA2020_conformal_and_distortion.gsb +step +proj=utm +zone=55 +south +ellps=GRS80')
self.assertEqual(len(spy), 6)
@unittest.skipIf(QgsProjUtils.projVersionMajor() >= 6, 'Not a crufty proj build')
@unittest.skipIf(os.environ.get('TRAVIS', '') == 'true', 'Depends on local environment and grid presence')
def testOperationsCruftyProj(self):
w = QgsCoordinateOperationWidget()
self.assertFalse(w.hasSelection())