logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 646e17a53d3885b84b03045728b3add3d50f513c
parent dd508b7c4f0dd8881de07a4e8593d4fcdef9bae7
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Mon, 28 Oct 2013 23:18:13 +0100

Fix YouTubeDL test

Diffstat:

Mtest/test_YoutubeDL.py8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.py @@ -62,10 +62,10 @@ class TestFormatSelection(unittest.TestCase): def test_format_limit(self): formats = [ - {u'format_id': u'meh'}, - {u'format_id': u'good'}, - {u'format_id': u'great'}, - {u'format_id': u'excellent'}, + {u'format_id': u'meh', u'url': u'http://example.com/meh'}, + {u'format_id': u'good', u'url': u'http://example.com/good'}, + {u'format_id': u'great', u'url': u'http://example.com/great'}, + {u'format_id': u'excellent', u'url': u'http://example.com/exc'}, ] info_dict = { u'formats': formats, u'extractor': u'test', 'id': 'testvid'}