hbmartin commited on
Commit
8adc165
·
1 Parent(s): 7a1d0be

rename test

Browse files
Files changed (1) hide show
  1. tests/test_cli.py +1 -1
tests/test_cli.py CHANGED
@@ -79,7 +79,7 @@ def test_download_caption_with_language_found(youtube):
79
 
80
  @mock.patch("pytube.cli._print_available_captions")
81
  @mock.patch("pytube.cli.YouTube")
82
- def test_download_caption_with_none(youtube, print_available):
83
  # Given
84
  caption = Caption(
85
  {"url": "url1", "name": {"simpleText": "name1"}, "languageCode": "en"}
 
79
 
80
  @mock.patch("pytube.cli._print_available_captions")
81
  @mock.patch("pytube.cli.YouTube")
82
+ def test_download_caption_with_lang_not_found(youtube, print_available):
83
  # Given
84
  caption = Caption(
85
  {"url": "url1", "name": {"simpleText": "name1"}, "languageCode": "en"}