Esempio n. 1
0
 def test_invalid_method(self):
     '''errors when invalid method'''
     get_lyrics.set_parallel('fooza')
Esempio n. 2
0
 def test_good_methods(self):
     get_lyrics.set_parallel('process')
     get_lyrics.set_parallel('thread')
Esempio n. 3
0
 def gen(self):
     get_lyrics.set_parallel('process')
     yield func, self
     get_lyrics.set_parallel('thread')
     yield func, self