mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +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
0dc6c3ecfd
commit
245b799ccf
1 changed files with 5 additions and 0 deletions
|
@ -60,3 +60,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