Improve comicname error message.

This commit is contained in:
Bastian Kleineidam 2013-05-22 22:29:29 +02:00
parent 66dccef537
commit 13963d8bfe

View file

@ -19,4 +19,4 @@ class TestComicNames(TestCase):
else:
comicname = name
self.assertEqual(util.asciify(comicname), comicname)
self.assertTrue(isinstance(scraperclass.description, text_type), comicname)
self.assertTrue(isinstance(scraperclass.description, text_type), "Invalid description in %s: %r" % (scraperclass, scraperclass.description))