rename test
Browse files- 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
|
| 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"}
|