fix kickass website compatibility (closes #457)

This commit is contained in:
Romain Bignon 2011-01-05 22:13:04 +01:00
commit e8de9f5579
2 changed files with 8 additions and 1 deletions

View file

@ -23,4 +23,5 @@ class KickassTest(BackendTest):
def test_torrent(self):
l = list(self.backend.iter_torrents('debian'))
if len(l) > 0:
assert l[0].url.endswith('.torrent')
self.backend.get_torrent_file(l[0].id)