[booblyrics] info => get , man written
This commit is contained in:
parent
de47ad8a0e
commit
74e6e30b55
4 changed files with 234 additions and 10 deletions
|
|
@ -43,4 +43,4 @@ class SeeklyricsBackend(BaseBackend, ICapLyrics):
|
|||
return self.browser.get_lyrics(id)
|
||||
|
||||
def iter_lyrics(self, pattern):
|
||||
return self.browser.iter_lyrics(quote_plus(pattern.encode('utf-8')))
|
||||
return self.browser.iter_lyrics(quote_plus(pattern.encode('iso-8859-1')))
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ from weboob.capabilities.base import NotLoaded
|
|||
class SeeklyricsTest(BackendTest):
|
||||
BACKEND = 'seeklyrics'
|
||||
|
||||
def test_search(self):
|
||||
def test_search_n_get(self):
|
||||
l_lyrics = list(self.backend.iter_lyrics('Complainte'))
|
||||
for songlyrics in l_lyrics:
|
||||
assert songlyrics.id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue