summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2014-08-27 11:35:43 +0200
committerPhilipp Hagemeister <[email protected]>2014-08-27 11:35:43 +0200
commit22449fa624a66b1fdea203a1687c817c37ed729f (patch)
tree84ca414618f0ccf100d81eb4d3e607cfcb858d8d /test
parentd36d3f420c53c4e2e499d8264a4d21d63a290fc0 (diff)
downloadyoutube-dl-22449fa624a66b1fdea203a1687c817c37ed729f.tar.gz
youtube-dl-22449fa624a66b1fdea203a1687c817c37ed729f.zip
Improve test_all_urls output
Diffstat (limited to 'test')
-rw-r--r--test/test_all_urls.py4
1 files changed, 3 insertions, 1 deletions
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'])