mirror of
https://github.com/logos-storage/deluge.git
synced 2026-01-07 07:33:10 +00:00
[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 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 |
Loading…
x
Reference in New Issue
Block a user