mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Disable flaky test
See https://travis-ci.org/qgis/QGIS/jobs/606030466#L6726
This commit is contained in:
parent
ffb38e8a32
commit
39741e549e
@ -69,6 +69,7 @@ class TestQgsSvgCache(unittest.TestCase):
|
||||
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))
|
||||
@ -83,6 +84,7 @@ class TestQgsSvgCache(unittest.TestCase):
|
||||
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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user