ahmedsadman
commited on
Commit
·
9a071f2
1
Parent(s):
af5414c
added more coverage
Browse files- tests/test_playlist.py +7 -0
tests/test_playlist.py
CHANGED
@@ -34,3 +34,10 @@ def test_populate():
|
|
34 |
|
35 |
ob.populate_video_urls()
|
36 |
assert ob.video_urls == expected
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
ob.populate_video_urls()
|
36 |
assert ob.video_urls == expected
|
37 |
+
|
38 |
+
|
39 |
+
def test_download():
|
40 |
+
ob = playlist.Playlist(
|
41 |
+
"https://www.youtube.com/watch?v=lByG_AgKS9k&list="
|
42 |
+
"PL525f8ds9RvuerPZ3bZygmNiYw2sP4BDk")
|
43 |
+
ob.download_all()
|