test_download_by_resolution
Browse files- tests/test_cli.py +1 -1
tests/test_cli.py
CHANGED
@@ -180,7 +180,7 @@ def test_download_by_resolution(youtube):
|
|
180 |
|
181 |
|
182 |
@mock.patch("pytube.cli.Playlist")
|
183 |
-
def
|
184 |
parser = argparse.ArgumentParser()
|
185 |
args = parse_args(parser, ["https://www.youtube.com/playlist?list=PLyn", "-r", "320p"])
|
186 |
cli._parse_args = MagicMock(return_value=args)
|
|
|
180 |
|
181 |
|
182 |
@mock.patch("pytube.cli.Playlist")
|
183 |
+
def test_download_with_playlist(playlist):
|
184 |
parser = argparse.ArgumentParser()
|
185 |
args = parse_args(parser, ["https://www.youtube.com/playlist?list=PLyn", "-r", "320p"])
|
186 |
cli._parse_args = MagicMock(return_value=args)
|