mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
[Tests] Update ubuntu icon, skip google & openbt icon tests
This commit is contained in:
parent
bebc414136
commit
815f67467a
2 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue