hbmartin commited on
Commit
8f9dd79
·
1 Parent(s): 4f06190

black tests

Browse files
Files changed (1) hide show
  1. tests/test_extract.py +2 -4
tests/test_extract.py CHANGED
@@ -14,8 +14,7 @@ def test_extract_video_id():
14
 
15
  def test_info_url(age_restricted):
16
  video_info_url = extract.video_info_url_age_restricted(
17
- video_id="QRS8MkLhQmM",
18
- embed_html=age_restricted["embed_html"],
19
  )
20
  expected = (
21
  "https://youtube.com/get_video_info?video_id=QRS8MkLhQmM&eurl"
@@ -26,8 +25,7 @@ def test_info_url(age_restricted):
26
 
27
  def test_info_url_age_restricted(cipher_signature):
28
  video_info_url = extract.video_info_url(
29
- video_id=cipher_signature.video_id,
30
- watch_url=cipher_signature.watch_url
31
  )
32
  expected = (
33
  "https://youtube.com/get_video_info?video_id=9bZkp7q19f0&el=%24el"
 
14
 
15
  def test_info_url(age_restricted):
16
  video_info_url = extract.video_info_url_age_restricted(
17
+ video_id="QRS8MkLhQmM", embed_html=age_restricted["embed_html"],
 
18
  )
19
  expected = (
20
  "https://youtube.com/get_video_info?video_id=QRS8MkLhQmM&eurl"
 
25
 
26
  def test_info_url_age_restricted(cipher_signature):
27
  video_info_url = extract.video_info_url(
28
+ video_id=cipher_signature.video_id, watch_url=cipher_signature.watch_url
 
29
  )
30
  expected = (
31
  "https://youtube.com/get_video_info?video_id=9bZkp7q19f0&el=%24el"