File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ class Tests(unittest.TestCase):
12
12
def test_filtered_songs (self ):
13
13
filtered = filtered_songs ()
14
14
print (filtered )
15
- self .assertTrue (len (filtered )!= 0 )
15
+ self .assertTrue (len (filtered ) != 0 )
16
16
17
17
def test_get_all_songs (self ):
18
18
songs = get_all_songs ()
19
19
print (songs )
20
- self .assertTrue (len (songs )!= 0 )
20
+ self .assertTrue (len (songs ) != 0 )
21
21
22
22
def test_recommend (self ):
23
23
ts = {"title" : "Your Love Is My Drug" , "top genre" : "dance pop" }
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ def test_searchSong(self):
16
16
expected_link = "https://www.youtube.com/watch?v=E07s5ZYygMg"
17
17
self .assertTrue (actual_link == expected_link )
18
18
19
+
19
20
# For testing the random_25() method. Checking if the list returned is of length 25.
20
21
21
22
def test_random_25 (self ):
You can’t perform that action at this time.
0 commit comments