[Tests] Update ubuntu icon, skip google & openbt icon tests

This commit is contained in:
Calum Lind 2016-04-07 09:49:25 +01:00
parent bebc414136
commit 815f67467a
2 changed files with 3 additions and 0 deletions

View file

@ -1,6 +1,7 @@
import os
import pytest
from twisted.trial.unittest import SkipTest
import deluge.component as component
import deluge.ui.tracker_icons
@ -42,6 +43,7 @@ class TrackerIconsTestCase(BaseTestCase):
return d
def test_get_google_ico_with_redirect(self):
raise SkipTest("Test broken by code changes, see ticket #2789")
# google.com redirects to www.google.com
icon = TrackerIcon(os.path.join(dirname, "google.ico"))
d = self.icons.fetch("google.com")
@ -58,6 +60,7 @@ class TrackerIconsTestCase(BaseTestCase):
return d
def test_get_openbt_png(self):
raise SkipTest("Site is down, possibly permanently")
# openbittorrent.com has an incorrect type (image/gif)
icon = TrackerIcon(os.path.join(dirname, "openbt.png"))
d = self.icons.fetch("openbittorrent.com")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB