Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Disable flaky test
  • Loading branch information
m-kuhn authored and nyalldawson committed Nov 21, 2019
1 parent 3908247 commit 6bc027b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/python/test_qgssvgcache.py
Expand Up @@ -69,6 +69,7 @@ def waitForFetch(self):
while not self.fetched:
QCoreApplication.processEvents()

@unittest.skipIf(os.environ.get('TRAVIS', '') == 'true', 'Failing on Travis')
def testRemoteSVG(self):
"""Test fetching remote svg."""
url = 'http://localhost:{}/qgis_local_server/sample_svg.svg'.format(str(TestQgsSvgCache.port))
Expand All @@ -83,6 +84,7 @@ def testRemoteSVG(self):
strokeWidth=0.1, widthScaleFactor=1)
self.assertTrue(self.imageCheck('Remote SVG', 'remote_svg', image))

@unittest.skipIf(os.environ.get('TRAVIS', '') == 'true', 'Failing on Travis')
def testRemoteSvgAsText(self):
"""Test fetching remote svg with text mime format - e.g. github raw svgs"""
url = 'http://localhost:{}/qgis_local_server/svg_as_text.txt'.format(str(TestQgsSvgCache.port))
Expand Down

0 comments on commit 6bc027b

Please sign in to comment.