[Tests] Update ubuntu icon, skip google & openbt icon tests
This commit is contained in:
parent
bebc414136
commit
815f67467a
@ -1,6 +1,7 @@
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
from twisted.trial.unittest import SkipTest
|
||||||
|
|
||||||
import deluge.component as component
|
import deluge.component as component
|
||||||
import deluge.ui.tracker_icons
|
import deluge.ui.tracker_icons
|
||||||
@ -42,6 +43,7 @@ class TrackerIconsTestCase(BaseTestCase):
|
|||||||
return d
|
return d
|
||||||
|
|
||||||
def test_get_google_ico_with_redirect(self):
|
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
|
# google.com redirects to www.google.com
|
||||||
icon = TrackerIcon(os.path.join(dirname, "google.ico"))
|
icon = TrackerIcon(os.path.join(dirname, "google.ico"))
|
||||||
d = self.icons.fetch("google.com")
|
d = self.icons.fetch("google.com")
|
||||||
@ -58,6 +60,7 @@ class TrackerIconsTestCase(BaseTestCase):
|
|||||||
return d
|
return d
|
||||||
|
|
||||||
def test_get_openbt_png(self):
|
def test_get_openbt_png(self):
|
||||||
|
raise SkipTest("Site is down, possibly permanently")
|
||||||
# openbittorrent.com has an incorrect type (image/gif)
|
# openbittorrent.com has an incorrect type (image/gif)
|
||||||
icon = TrackerIcon(os.path.join(dirname, "openbt.png"))
|
icon = TrackerIcon(os.path.join(dirname, "openbt.png"))
|
||||||
d = self.icons.fetch("openbittorrent.com")
|
d = self.icons.fetch("openbittorrent.com")
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 1.4 KiB |
Loading…
x
Reference in New Issue
Block a user