From 582f60ea0be03342fbc3864e55dbef0525923c47 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Fri, 16 Nov 2018 14:40:39 +0000 Subject: [PATCH] [Tests] Fix failing tracker_icons test Disable the testing with seo.com as the site certificate has expired. Ideally should not be testing against live sites and instead use request replay tool such as VCR.py. --- deluge/tests/test_tracker_icons.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deluge/tests/test_tracker_icons.py b/deluge/tests/test_tracker_icons.py index 4e7f48c19..e18d33987 100644 --- a/deluge/tests/test_tracker_icons.py +++ b/deluge/tests/test_tracker_icons.py @@ -8,6 +8,7 @@ from __future__ import unicode_literals import pytest +from twisted.trial.unittest import SkipTest import deluge.component as component import deluge.ui.tracker_icons @@ -63,6 +64,7 @@ class TrackerIconsTestCase(BaseTestCase): def test_get_seo_ico_with_sni(self): # seo using certificates with SNI support only + raise SkipTest('Site certificate expired') icon = TrackerIcon(common.get_test_data_file('seo.ico')) d = self.icons.fetch('www.seo.com') d.addCallback(self.assertNotIdentical, None)