fixed generic comic reader tests

This commit is contained in:
Noé Rubinstein 2011-09-04 11:55:28 +02:00 committed by Romain Bignon
commit b873878e31
8 changed files with 16 additions and 9 deletions

View file

@ -114,8 +114,8 @@ class GenericComicReaderBackend(BaseBackend, ICapGallery):
class GenericComicReaderTest(BackendTest):
def test_download(self):
g = self.backend.get_gallery(self.DOWNLOAD_ID)
def _test_download(self, _id):
g = self.backend.get_gallery(_id)
it = self.backend.iter_gallery_images(g)
it.next()
img = it.next()