neitro
commited on
Commit
·
9be85cb
1
Parent(s):
78b647b
Fixed the bug - updated tests ( https://github.com/nficano/pytube/issues/450 )
Browse files- tests/test_streams.py +1 -1
tests/test_streams.py
CHANGED
@@ -26,7 +26,7 @@ def test_title(cipher_signature):
|
|
26 |
|
27 |
expected = 'PSY - GANGNAM STYLE(강남스타일)'
|
28 |
stream.player_config_args = {
|
29 |
-
'player_response': {'videoDetails': expected}}
|
30 |
assert stream.title == expected
|
31 |
|
32 |
expected = 'Unknown YouTube Video Title'
|
|
|
26 |
|
27 |
expected = 'PSY - GANGNAM STYLE(강남스타일)'
|
28 |
stream.player_config_args = {
|
29 |
+
'player_response': {'videoDetails': {'title': expected}}}
|
30 |
assert stream.title == expected
|
31 |
|
32 |
expected = 'Unknown YouTube Video Title'
|