diff options
author | Calum Lind <calumlind@gmail.com> | 2018-11-16 14:40:39 +0000 |
---|---|---|
committer | Calum Lind <calumlind@gmail.com> | 2018-11-16 15:06:30 +0000 |
commit | 582f60ea0be03342fbc3864e55dbef0525923c47 (patch) | |
tree | 6e188981d1b3831e7e87a9342c40863bdef05cdd | |
parent | 157f6ff62a355d42164922015f6da9df3670fea8 (diff) | |
download | deluge-582f60ea0be03342fbc3864e55dbef0525923c47.tar.gz deluge-582f60ea0be03342fbc3864e55dbef0525923c47.tar.bz2 deluge-582f60ea0be03342fbc3864e55dbef0525923c47.zip |
[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.
-rw-r--r-- | deluge/tests/test_tracker_icons.py | 2 |
1 files changed, 2 insertions, 0 deletions
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) |