From: Philipp Hagemeister Date: Wed, 27 Aug 2014 09:35:43 +0000 (+0200) Subject: Improve test_all_urls output X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=22449fa624a66b1fdea203a1687c817c37ed729f;p=youtube-dl Improve test_all_urls output --- diff --git a/test/test_all_urls.py b/test/test_all_urls.py index b1ad30bf1..5f1092939 100644 --- a/test/test_all_urls.py +++ b/test/test_all_urls.py @@ -109,7 +109,9 @@ class TestAllURLsMatching(unittest.TestCase): if type(ie).__name__ in ('GenericIE', tc['name'] + 'IE'): self.assertTrue(ie.suitable(url), '%s should match URL %r' % (type(ie).__name__, url)) else: - self.assertFalse(ie.suitable(url), '%s should not match URL %r' % (type(ie).__name__, url)) + self.assertFalse( + ie.suitable(url), + '%s should not match URL %r . That URL belongs to %s.' % (type(ie).__name__, url, tc['name'])) def test_keywords(self): self.assertMatch(':ytsubs', ['youtube:subscriptions'])