Example #1
0
    def test_get_cached_songs(self):
        ''' When lyrics exists in DB'''
        self._create()
        fac = Factory()

        db_lyrics = fac.getCachedSongs()

        self.assertEqual(len(db_lyrics), 1)
Example #2
0
    def test_get_cached_songs(self):
        ''' When lyrics exists in DB'''
        self._create()
        fac = Factory()

        db_lyrics = fac.getCachedSongs()

        self.assertEqual(len(db_lyrics), 1)