mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-11 12:04:10 +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
@ -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…
x
Reference in New Issue
Block a user