projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7512aa9
)
[test_YoutubeDL] Fix typo (closes #14856)
author
Sergey M․
<dstftw@gmail.com>
Sun, 26 Nov 2017 14:06:14 +0000
(21:06 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 26 Nov 2017 14:06:14 +0000
(21:06 +0700)
test/test_YoutubeDL.py
patch
|
blob
|
history
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')