mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Add test for tracker_icons for when requesting an icon for host that is "". This test results in an infinite loop.
This commit is contained in:
parent
37137d9b54
commit
b3eed8a1f0
1 changed files with 5 additions and 0 deletions
|
@ -59,3 +59,8 @@ class TrackerIconsTestCase(unittest.TestCase):
|
|||
d.addCallback(self.assertNotIdentical, None)
|
||||
d.addCallback(self.assertEquals, icon)
|
||||
return d
|
||||
|
||||
def test_get_empty_string_tracker(self):
|
||||
d = icons.get("")
|
||||
d.addCallback(self.assertEquals, None)
|
||||
return d
|
||||
|
|
Loading…
Add table
Reference in a new issue