From 256a08bf311408c4d0c6d9ee8500f4079135894b Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Thu, 11 Oct 2012 20:19:10 +0200 Subject: [PATCH] Improve test output. --- tests/test_comics.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_comics.py b/tests/test_comics.py index f8cfdf911..35b735081 100644 --- a/tests/test_comics.py +++ b/tests/test_comics.py @@ -14,6 +14,7 @@ class _ComicTester(TestCase): def setUp(self): self.name = self.scraperclass.get_name() + self.url = self.scraperclass.starter() def test_comic(self): # Test a scraper. It must be able to traverse backward for @@ -43,7 +44,7 @@ class _ComicTester(TestCase): shutil.rmtree(tmpdir) def check(self, condition, msg): - self.assertTrue(condition, "%s: %s" % (self.name, msg)) + self.assertTrue(condition, "%s %s %s" % (self.name, self.url, msg)) def generate_comic_testers():