projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[utils] Add parse_resolution
[youtube-dl]
/
test
/
test_YoutubeDL.py
diff --git
a/test/test_YoutubeDL.py
b/test/test_YoutubeDL.py
index 4af92fbd4b8ac0cff84b290bc737f173cc6b34ca..f0f5a84708d12ef28650b45d0494520dd4f71da1 100644
(file)
--- a/
test/test_YoutubeDL.py
+++ b/
test/test_YoutubeDL.py
@@
-466,11
+466,11
@@
class TestFormatSelection(unittest.TestCase):
ydl = YDL({'simulate': True})
self.assertEqual(ydl._default_format_spec({}), 'bestvideo+bestaudio/best')
ydl = YDL({'simulate': True})
self.assertEqual(ydl._default_format_spec({}), 'bestvideo+bestaudio/best')
- ydl = YDL({
'is_live': True
})
- self.assertEqual(ydl._default_format_spec({}), 'best/bestvideo+bestaudio')
+ ydl = YDL({})
+ self.assertEqual(ydl._default_format_spec({
'is_live': True
}), 'best/bestvideo+bestaudio')
- ydl = YDL({'simulate': True
, 'is_live': True
})
- self.assertEqual(ydl._default_format_spec({}), 'bestvideo+bestaudio/best')
+ ydl = YDL({'simulate': True})
+ self.assertEqual(ydl._default_format_spec({
'is_live': True
}), 'bestvideo+bestaudio/best')
ydl = YDL({'outtmpl': '-'})
self.assertEqual(ydl._default_format_spec({}), 'best/bestvideo+bestaudio')
ydl = YDL({'outtmpl': '-'})
self.assertEqual(ydl._default_format_spec({}), 'best/bestvideo+bestaudio')