s/BACKEND/MODULE/
This commit is contained in:
parent
c678dd6b7a
commit
3ecb491c1c
164 changed files with 165 additions and 165 deletions
|
|
@ -409,7 +409,7 @@ Edit ``test.py`` and write, for example::
|
||||||
__all__ = ['ExampleTest']
|
__all__ = ['ExampleTest']
|
||||||
|
|
||||||
class ExampleTest(BackendTest):
|
class ExampleTest(BackendTest):
|
||||||
BACKEND = 'example'
|
MODULE = 'example'
|
||||||
|
|
||||||
def test_iter_accounts(self):
|
def test_iter_accounts(self):
|
||||||
accounts = list(self.backend.iter_accounts())
|
accounts = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ Example::
|
||||||
from weboob.tools.test import BackendTest
|
from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
class YoutubeTest(BackendTest):
|
class YoutubeTest(BackendTest):
|
||||||
BACKEND = 'youtube'
|
MODULE = 'youtube'
|
||||||
|
|
||||||
def test_youtube(self):
|
def test_youtube(self):
|
||||||
l = [v for v in self.backend.iter_search_results('lol')]
|
l = [v for v in self.backend.iter_search_results('lol')]
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class SevenFiftyGramsTest(BackendTest):
|
class SevenFiftyGramsTest(BackendTest):
|
||||||
BACKEND = '750g'
|
MODULE = '750g'
|
||||||
|
|
||||||
def test_recipe(self):
|
def test_recipe(self):
|
||||||
recipes = self.backend.iter_recipes('fondue')
|
recipes = self.backend.iter_recipes('fondue')
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class AdeccoTest(BackendTest):
|
class AdeccoTest(BackendTest):
|
||||||
BACKEND = 'adecco'
|
MODULE = 'adecco'
|
||||||
|
|
||||||
def test_adecco_search(self):
|
def test_adecco_search(self):
|
||||||
l = list(self.backend.search_job(u'valet de chambre'))
|
l = list(self.backend.search_job(u'valet de chambre'))
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ from datetime import datetime
|
||||||
|
|
||||||
|
|
||||||
class AgendadulibreTest(BackendTest):
|
class AgendadulibreTest(BackendTest):
|
||||||
BACKEND = 'agendadulibre'
|
MODULE = 'agendadulibre'
|
||||||
|
|
||||||
def test_agendadulibre(self):
|
def test_agendadulibre(self):
|
||||||
l = list(self.backend.list_events(datetime.now()))
|
l = list(self.backend.list_events(datetime.now()))
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ from weboob.tools.test import BackendTest
|
||||||
import re
|
import re
|
||||||
|
|
||||||
class AllocineTest(BackendTest):
|
class AllocineTest(BackendTest):
|
||||||
BACKEND = 'allocine'
|
MODULE = 'allocine'
|
||||||
|
|
||||||
def test_search_movie(self):
|
def test_search_movie(self):
|
||||||
movies = list(self.backend.iter_movies('spiderman'))
|
movies = list(self.backend.iter_movies('spiderman'))
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class AlloRestoTest(BackendTest):
|
class AlloRestoTest(BackendTest):
|
||||||
BACKEND = 'alloresto'
|
MODULE = 'alloresto'
|
||||||
|
|
||||||
def test_alloresto(self):
|
def test_alloresto(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class AllrecipesTest(BackendTest):
|
class AllrecipesTest(BackendTest):
|
||||||
BACKEND = 'allrecipes'
|
MODULE = 'allrecipes'
|
||||||
|
|
||||||
def test_recipe(self):
|
def test_recipe(self):
|
||||||
recipes = self.backend.iter_recipes('french fries')
|
recipes = self.backend.iter_recipes('french fries')
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class AmeliTest(BackendTest):
|
class AmeliTest(BackendTest):
|
||||||
BACKEND = 'ameli'
|
MODULE = 'ameli'
|
||||||
|
|
||||||
def test_ameli(self):
|
def test_ameli(self):
|
||||||
for subscription in self.backend.iter_subscription():
|
for subscription in self.backend.iter_subscription():
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class AmeliProTest(BackendTest):
|
class AmeliProTest(BackendTest):
|
||||||
BACKEND = 'AmeliPro'
|
MODULE = 'AmeliPro'
|
||||||
|
|
||||||
def test_AmeliPro(self):
|
def test_AmeliPro(self):
|
||||||
for subscription in self.backend.iter_subscription():
|
for subscription in self.backend.iter_subscription():
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class AmericanExpressTest(BackendTest):
|
class AmericanExpressTest(BackendTest):
|
||||||
BACKEND = 'americanexpress'
|
MODULE = 'americanexpress'
|
||||||
|
|
||||||
def test_americanexpress(self):
|
def test_americanexpress(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class ApecTest(BackendTest):
|
class ApecTest(BackendTest):
|
||||||
BACKEND = 'apec'
|
MODULE = 'apec'
|
||||||
|
|
||||||
def test_apec_search(self):
|
def test_apec_search(self):
|
||||||
l = list(self.backend.search_job(u'informaticien'))
|
l = list(self.backend.search_job(u'informaticien'))
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class ApivieTest(BackendTest):
|
class ApivieTest(BackendTest):
|
||||||
BACKEND = 'apivie'
|
MODULE = 'apivie'
|
||||||
|
|
||||||
def test_apivie(self):
|
def test_apivie(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class ArretSurImagesTest(BackendTest):
|
class ArretSurImagesTest(BackendTest):
|
||||||
BACKEND = 'arretsurimages'
|
MODULE = 'arretsurimages'
|
||||||
|
|
||||||
def test_arretsurimages(self):
|
def test_arretsurimages(self):
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ from weboob.capabilities.video import BaseVideo
|
||||||
|
|
||||||
|
|
||||||
class ArteTest(BackendTest):
|
class ArteTest(BackendTest):
|
||||||
BACKEND = 'arte'
|
MODULE = 'arte'
|
||||||
|
|
||||||
def test_search(self):
|
def test_search(self):
|
||||||
l = list(self.backend.search_videos('a'))
|
l = list(self.backend.search_videos('a'))
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ from random import choice
|
||||||
|
|
||||||
|
|
||||||
class AttilasubTest(BackendTest):
|
class AttilasubTest(BackendTest):
|
||||||
BACKEND = 'attilasub'
|
MODULE = 'attilasub'
|
||||||
|
|
||||||
def test_subtitle(self):
|
def test_subtitle(self):
|
||||||
subtitles = list(self.backend.iter_subtitles('fr', 'spiderman'))
|
subtitles = list(self.backend.iter_subtitles('fr', 'spiderman'))
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ from weboob.capabilities.radio import Radio
|
||||||
|
|
||||||
|
|
||||||
class AudioAddictTest(BackendTest):
|
class AudioAddictTest(BackendTest):
|
||||||
BACKEND = 'audioaddict'
|
MODULE = 'audioaddict'
|
||||||
|
|
||||||
def test_audioaddict(self):
|
def test_audioaddict(self):
|
||||||
ls = list(self.backend.iter_resources((Radio, ), []))
|
ls = list(self.backend.iter_resources((Radio, ), []))
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ from weboob.tools.browser import BrowserUnavailable
|
||||||
|
|
||||||
|
|
||||||
class AuMTest(BackendTest):
|
class AuMTest(BackendTest):
|
||||||
BACKEND = 'aum'
|
MODULE = 'aum'
|
||||||
|
|
||||||
def test_new_messages(self):
|
def test_new_messages(self):
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class AXABanqueTest(BackendTest):
|
class AXABanqueTest(BackendTest):
|
||||||
BACKEND = 'axabanque'
|
MODULE = 'axabanque'
|
||||||
|
|
||||||
def test_axabanque(self):
|
def test_axabanque(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class BanqueAccordTest(BackendTest):
|
class BanqueAccordTest(BackendTest):
|
||||||
BACKEND = 'banqueaccord'
|
MODULE = 'banqueaccord'
|
||||||
|
|
||||||
def test_banqueaccord(self):
|
def test_banqueaccord(self):
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class BanquePopulaireTest(BackendTest):
|
class BanquePopulaireTest(BackendTest):
|
||||||
BACKEND = 'banquepopulaire'
|
MODULE = 'banquepopulaire'
|
||||||
|
|
||||||
def test_banquepop(self):
|
def test_banquepop(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class BarclaysTest(BackendTest):
|
class BarclaysTest(BackendTest):
|
||||||
BACKEND = 'barclays'
|
MODULE = 'barclays'
|
||||||
|
|
||||||
def test_banquepop(self):
|
def test_banquepop(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ from weboob.tools.capabilities.gallery.genericcomicreadertest import GenericComi
|
||||||
|
|
||||||
|
|
||||||
class BatotoTest(GenericComicReaderTest):
|
class BatotoTest(GenericComicReaderTest):
|
||||||
BACKEND = 'batoto'
|
MODULE = 'batoto'
|
||||||
|
|
||||||
def test_download(self):
|
def test_download(self):
|
||||||
return self._test_download('26287/yurumates_ch4_by_primitive-scans')
|
return self._test_download('26287/yurumates_ch4_by_primitive-scans')
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ from weboob.tools.test import BackendTest, SkipTest
|
||||||
|
|
||||||
|
|
||||||
class BiplanTest(BackendTest):
|
class BiplanTest(BackendTest):
|
||||||
BACKEND = 'biplan'
|
MODULE = 'biplan'
|
||||||
|
|
||||||
def test_biplan_list(self):
|
def test_biplan_list(self):
|
||||||
if datetime.now() > datetime(datetime.now().year, 7, 14) and datetime.now() < datetime(datetime.now().year, 9, 15):
|
if datetime.now() > datetime(datetime.now().year, 7, 14) and datetime.now() < datetime(datetime.now().year, 9, 15):
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ from random import choice
|
||||||
|
|
||||||
|
|
||||||
class BNPorcTest(BackendTest):
|
class BNPorcTest(BackendTest):
|
||||||
BACKEND = 'bnporc'
|
MODULE = 'bnporc'
|
||||||
|
|
||||||
def test_bank(self):
|
def test_bank(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class BoursoramaTest(BackendTest):
|
class BoursoramaTest(BackendTest):
|
||||||
BACKEND = 'boursorama'
|
MODULE = 'boursorama'
|
||||||
|
|
||||||
def test_boursorama(self):
|
def test_boursorama(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class BouyguesTest(BackendTest):
|
class BouyguesTest(BackendTest):
|
||||||
BACKEND = 'bouygues'
|
MODULE = 'bouygues'
|
||||||
|
|
||||||
def test_bouygues(self):
|
def test_bouygues(self):
|
||||||
pass
|
pass
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class BredTest(BackendTest):
|
class BredTest(BackendTest):
|
||||||
BACKEND = 'bred'
|
MODULE = 'bred'
|
||||||
|
|
||||||
def test_bred(self):
|
def test_bred(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ from random import choice
|
||||||
|
|
||||||
|
|
||||||
class BTDiggTest(BackendTest):
|
class BTDiggTest(BackendTest):
|
||||||
BACKEND = 'btdigg'
|
MODULE = 'btdigg'
|
||||||
|
|
||||||
def test_iter_torrents(self):
|
def test_iter_torrents(self):
|
||||||
# try something popular so we sometimes get a magnet-only torrent
|
# try something popular so we sometimes get a magnet-only torrent
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ from random import choice
|
||||||
|
|
||||||
|
|
||||||
class BtmonTest(BackendTest):
|
class BtmonTest(BackendTest):
|
||||||
BACKEND = 'btmon'
|
MODULE = 'btmon'
|
||||||
|
|
||||||
def test_torrent(self):
|
def test_torrent(self):
|
||||||
torrents = list(self.backend.iter_torrents('spiderman'))
|
torrents = list(self.backend.iter_torrents('spiderman'))
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class CaisseEpargneTest(BackendTest):
|
class CaisseEpargneTest(BackendTest):
|
||||||
BACKEND = 'caissedepargne'
|
MODULE = 'caissedepargne'
|
||||||
|
|
||||||
def test_caisse_epargne(self):
|
def test_caisse_epargne(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ from weboob.capabilities.video import BaseVideo
|
||||||
|
|
||||||
|
|
||||||
class CanalPlusTest(BackendTest):
|
class CanalPlusTest(BackendTest):
|
||||||
BACKEND = 'canalplus'
|
MODULE = 'canalplus'
|
||||||
|
|
||||||
def test_canalplus(self):
|
def test_canalplus(self):
|
||||||
l = list(self.backend.search_videos(u'guignol'))
|
l = list(self.backend.search_videos(u'guignol'))
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class CanalTPTest(BackendTest):
|
class CanalTPTest(BackendTest):
|
||||||
BACKEND = 'canaltp'
|
MODULE = 'canaltp'
|
||||||
|
|
||||||
def test_canaltp(self):
|
def test_canaltp(self):
|
||||||
stations = list(self.backend.iter_station_search('defense'))
|
stations = list(self.backend.iter_station_search('defense'))
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ from weboob.capabilities.video import BaseVideo
|
||||||
|
|
||||||
|
|
||||||
class CappedTest(BackendTest):
|
class CappedTest(BackendTest):
|
||||||
BACKEND = 'cappedtv'
|
MODULE = 'cappedtv'
|
||||||
|
|
||||||
def test_search(self):
|
def test_search(self):
|
||||||
l = list(self.backend.search_videos('kewlers'))
|
l = list(self.backend.search_videos('kewlers'))
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class CarrefourBanqueTest(BackendTest):
|
class CarrefourBanqueTest(BackendTest):
|
||||||
BACKEND = 'carrefourbanque'
|
MODULE = 'carrefourbanque'
|
||||||
|
|
||||||
def test_carrefourbanque(self):
|
def test_carrefourbanque(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class CciTest(BackendTest):
|
class CciTest(BackendTest):
|
||||||
BACKEND = 'cci'
|
MODULE = 'cci'
|
||||||
|
|
||||||
def test_cci_search(self):
|
def test_cci_search(self):
|
||||||
l = list(self.backend.search_job())
|
l = list(self.backend.search_job())
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class ChampslibresTest(BackendTest):
|
class ChampslibresTest(BackendTest):
|
||||||
BACKEND = 'champslibres'
|
MODULE = 'champslibres'
|
||||||
|
|
||||||
def test_champslibres(self):
|
def test_champslibres(self):
|
||||||
pass
|
pass
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class ChronopostTest(BackendTest):
|
class ChronopostTest(BackendTest):
|
||||||
BACKEND = 'chronopost'
|
MODULE = 'chronopost'
|
||||||
|
|
||||||
def test_chronopost(self):
|
def test_chronopost(self):
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class CICTest(BackendTest):
|
class CICTest(BackendTest):
|
||||||
BACKEND = 'cic'
|
MODULE = 'cic'
|
||||||
|
|
||||||
def test_cic(self):
|
def test_cic(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class CitelisTest(BackendTest):
|
class CitelisTest(BackendTest):
|
||||||
BACKEND = 'citelis'
|
MODULE = 'citelis'
|
||||||
|
|
||||||
def test_citelis(self):
|
def test_citelis(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class CmsoTest(BackendTest):
|
class CmsoTest(BackendTest):
|
||||||
BACKEND = 'cmso'
|
MODULE = 'cmso'
|
||||||
|
|
||||||
def test_cmso(self):
|
def test_cmso(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class CrAgrTest(BackendTest):
|
class CrAgrTest(BackendTest):
|
||||||
BACKEND = 'cragr'
|
MODULE = 'cragr'
|
||||||
|
|
||||||
def test_cragr(self):
|
def test_cragr(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class CreditCooperatifTest(BackendTest):
|
class CreditCooperatifTest(BackendTest):
|
||||||
BACKEND = 'creditcooperatif'
|
MODULE = 'creditcooperatif'
|
||||||
|
|
||||||
def test_creditcoop(self):
|
def test_creditcoop(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class CreditDuNordTest(BackendTest):
|
class CreditDuNordTest(BackendTest):
|
||||||
BACKEND = 'creditdunord'
|
MODULE = 'creditdunord'
|
||||||
|
|
||||||
def test_creditdunord(self):
|
def test_creditdunord(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class CreditMutuelTest(BackendTest):
|
class CreditMutuelTest(BackendTest):
|
||||||
BACKEND = 'creditmutuel'
|
MODULE = 'creditmutuel'
|
||||||
|
|
||||||
def test_crmut(self):
|
def test_crmut(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class CuisineazTest(BackendTest):
|
class CuisineazTest(BackendTest):
|
||||||
BACKEND = 'cuisineaz'
|
MODULE = 'cuisineaz'
|
||||||
|
|
||||||
def test_recipe(self):
|
def test_recipe(self):
|
||||||
recipes = self.backend.iter_recipes('fondue')
|
recipes = self.backend.iter_recipes('fondue')
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ from random import choice
|
||||||
|
|
||||||
|
|
||||||
class DailymotionTest(BackendTest):
|
class DailymotionTest(BackendTest):
|
||||||
BACKEND = 'dailymotion'
|
MODULE = 'dailymotion'
|
||||||
|
|
||||||
# Not easy to find a kids video which will always be there
|
# Not easy to find a kids video which will always be there
|
||||||
# This might break in the future
|
# This might break in the future
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class DelubacTest(BackendTest):
|
class DelubacTest(BackendTest):
|
||||||
BACKEND = 'delubac'
|
MODULE = 'delubac'
|
||||||
|
|
||||||
def test_delubac(self):
|
def test_delubac(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ from .browser import DLFP
|
||||||
|
|
||||||
|
|
||||||
class DLFPTest(BackendTest):
|
class DLFPTest(BackendTest):
|
||||||
BACKEND = 'dlfp'
|
MODULE = 'dlfp'
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
DLFP.DOMAIN = 'alpha.linuxfr.org'
|
DLFP.DOMAIN = 'alpha.linuxfr.org'
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class DresdenWetterTest(BackendTest):
|
class DresdenWetterTest(BackendTest):
|
||||||
BACKEND = 'dresdenwetter'
|
MODULE = 'dresdenwetter'
|
||||||
|
|
||||||
def test_gauges_sensors(self):
|
def test_gauges_sensors(self):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ from weboob.tools.capabilities.gallery.genericcomicreadertest import GenericComi
|
||||||
|
|
||||||
|
|
||||||
class EatmangaTest(GenericComicReaderTest):
|
class EatmangaTest(GenericComicReaderTest):
|
||||||
BACKEND = 'eatmanga'
|
MODULE = 'eatmanga'
|
||||||
|
|
||||||
def test_download(self):
|
def test_download(self):
|
||||||
return self._test_download('Glass-Mask/Glass-Mask-Vol-031')
|
return self._test_download('Glass-Mask/Glass-Mask-Vol-031')
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class EbonicsTest(BackendTest):
|
class EbonicsTest(BackendTest):
|
||||||
BACKEND = 'ebonics'
|
MODULE = 'ebonics'
|
||||||
|
|
||||||
def test_translate(self):
|
def test_translate(self):
|
||||||
self.backend.translate('English', 'Nigger!', 'I like penis.')
|
self.backend.translate('English', 'Nigger!', 'I like penis.')
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class EdfTest(BackendTest):
|
class EdfTest(BackendTest):
|
||||||
BACKEND = 'edf'
|
MODULE = 'edf'
|
||||||
|
|
||||||
def test_edf(self):
|
def test_edf(self):
|
||||||
for subscription in self.backend.iter_subscription():
|
for subscription in self.backend.iter_subscription():
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ from weboob.capabilities.gallery import BaseGallery
|
||||||
|
|
||||||
|
|
||||||
class EHentaiTest(BackendTest):
|
class EHentaiTest(BackendTest):
|
||||||
BACKEND = 'ehentai'
|
MODULE = 'ehentai'
|
||||||
|
|
||||||
def test_search(self):
|
def test_search(self):
|
||||||
l = list(self.backend.search_gallery('lol'))
|
l = list(self.backend.search_gallery('lol'))
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class EuroparlTest(BackendTest):
|
class EuroparlTest(BackendTest):
|
||||||
BACKEND = 'europarl'
|
MODULE = 'europarl'
|
||||||
|
|
||||||
# def test_search(self):
|
# def test_search(self):
|
||||||
# l = list(self.backend.search_videos('neelie kroes'))
|
# l = list(self.backend.search_videos('neelie kroes'))
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ from weboob.tools.test import BackendTest, SkipTest
|
||||||
|
|
||||||
|
|
||||||
class FeedlyTest(BackendTest):
|
class FeedlyTest(BackendTest):
|
||||||
BACKEND = 'feedly'
|
MODULE = 'feedly'
|
||||||
|
|
||||||
def test_login(self):
|
def test_login(self):
|
||||||
if self.backend.browser.username:
|
if self.backend.browser.username:
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class FortuneoTest(BackendTest):
|
class FortuneoTest(BackendTest):
|
||||||
BACKEND = 'fortuneo'
|
MODULE = 'fortuneo'
|
||||||
|
|
||||||
def test_fortuneo(self):
|
def test_fortuneo(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class FourChanTest(BackendTest):
|
class FourChanTest(BackendTest):
|
||||||
BACKEND = 'fourchan'
|
MODULE = 'fourchan'
|
||||||
|
|
||||||
def test_new_messages(self):
|
def test_new_messages(self):
|
||||||
tot = 0
|
tot = 0
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ from weboob.capabilities.video import BaseVideo
|
||||||
|
|
||||||
|
|
||||||
class PluzzTest(BackendTest):
|
class PluzzTest(BackendTest):
|
||||||
BACKEND = 'francetelevisions'
|
MODULE = 'francetelevisions'
|
||||||
|
|
||||||
def test_search(self):
|
def test_search(self):
|
||||||
# If the test fails, it might be good news!
|
# If the test fails, it might be good news!
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class FreeMobileTest(BackendTest):
|
class FreeMobileTest(BackendTest):
|
||||||
BACKEND = 'freemobile'
|
MODULE = 'freemobile'
|
||||||
|
|
||||||
def test_details(self):
|
def test_details(self):
|
||||||
for subscription in self.backend.iter_subscription():
|
for subscription in self.backend.iter_subscription():
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class GanAssurancesTest(BackendTest):
|
class GanAssurancesTest(BackendTest):
|
||||||
BACKEND = 'ganassurances'
|
MODULE = 'ganassurances'
|
||||||
|
|
||||||
def test_banquepop(self):
|
def test_banquepop(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class GazelleTest(BackendTest):
|
class GazelleTest(BackendTest):
|
||||||
BACKEND = 'gazelle'
|
MODULE = 'gazelle'
|
||||||
|
|
||||||
def test_torrent(self):
|
def test_torrent(self):
|
||||||
l = list(self.backend.iter_torrents('sex'))
|
l = list(self.backend.iter_torrents('sex'))
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class GDCVaultTest(BackendTest):
|
class GDCVaultTest(BackendTest):
|
||||||
BACKEND = 'gdcvault'
|
MODULE = 'gdcvault'
|
||||||
|
|
||||||
# def test_search(self):
|
# def test_search(self):
|
||||||
# l = list(self.backend.search_videos('linux'))
|
# l = list(self.backend.search_videos('linux'))
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class GdfSuezTest(BackendTest):
|
class GdfSuezTest(BackendTest):
|
||||||
BACKEND = 'gdfsuez'
|
MODULE = 'gdfsuez'
|
||||||
|
|
||||||
def test_gdfsuez(self):
|
def test_gdfsuez(self):
|
||||||
for subscription in self.backend.iter_subscription():
|
for subscription in self.backend.iter_subscription():
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class GeolocIPTest(BackendTest):
|
class GeolocIPTest(BackendTest):
|
||||||
BACKEND = 'geolocip'
|
MODULE = 'geolocip'
|
||||||
|
|
||||||
def test_geolocip(self):
|
def test_geolocip(self):
|
||||||
self.backend.get_location('88.198.11.130')
|
self.backend.get_location('88.198.11.130')
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ from weboob.capabilities.bugtracker import Query
|
||||||
|
|
||||||
|
|
||||||
class GithubTest(BackendTest):
|
class GithubTest(BackendTest):
|
||||||
BACKEND = 'github'
|
MODULE = 'github'
|
||||||
|
|
||||||
def test_project(self):
|
def test_project(self):
|
||||||
project = self.backend.get_project('github/hubot')
|
project = self.backend.get_project('github/hubot')
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class GoogleTranslateTest(BackendTest):
|
class GoogleTranslateTest(BackendTest):
|
||||||
BACKEND = 'googletranslate'
|
MODULE = 'googletranslate'
|
||||||
|
|
||||||
def test_translate(self):
|
def test_translate(self):
|
||||||
tr = self.backend.translate('French', 'English', 'je mange du chocolat')
|
tr = self.backend.translate('French', 'English', 'je mange du chocolat')
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest, SkipTest
|
||||||
|
|
||||||
|
|
||||||
class GroovesharkTest(BackendTest):
|
class GroovesharkTest(BackendTest):
|
||||||
BACKEND = 'grooveshark'
|
MODULE = 'grooveshark'
|
||||||
|
|
||||||
def test_grooveshark_audio_search(self):
|
def test_grooveshark_audio_search(self):
|
||||||
result = list(self.backend.search_audio("Gronibard"))
|
result = list(self.backend.search_audio("Gronibard"))
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class GroupamaesTest(BackendTest):
|
class GroupamaesTest(BackendTest):
|
||||||
BACKEND = 'groupamaes'
|
MODULE = 'groupamaes'
|
||||||
|
|
||||||
def test_groupamaes(self):
|
def test_groupamaes(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ from uuid import uuid4
|
||||||
|
|
||||||
|
|
||||||
class GuerrillamailTest(BackendTest):
|
class GuerrillamailTest(BackendTest):
|
||||||
BACKEND = 'guerrillamail'
|
MODULE = 'guerrillamail'
|
||||||
|
|
||||||
def test_guerrillamail(self):
|
def test_guerrillamail(self):
|
||||||
box = uuid4()
|
box = uuid4()
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ from weboob.tools.misc import limit
|
||||||
|
|
||||||
|
|
||||||
class HDSTest(BackendTest):
|
class HDSTest(BackendTest):
|
||||||
BACKEND = 'hds'
|
MODULE = 'hds'
|
||||||
|
|
||||||
def test_new_messages(self):
|
def test_new_messages(self):
|
||||||
for message in limit(self.backend.iter_unread_messages(), 10):
|
for message in limit(self.backend.iter_unread_messages(), 10):
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ from random import choice
|
||||||
|
|
||||||
|
|
||||||
class HelloBankTest(BackendTest):
|
class HelloBankTest(BackendTest):
|
||||||
BACKEND = 'hellobank'
|
MODULE = 'hellobank'
|
||||||
|
|
||||||
def test_bank(self):
|
def test_bank(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class HSBCTest(BackendTest):
|
class HSBCTest(BackendTest):
|
||||||
BACKEND = 'hsbc'
|
MODULE = 'hsbc'
|
||||||
|
|
||||||
def test_hsbc(self):
|
def test_hsbc(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ from weboob.tools.test import BackendTest, SkipTest
|
||||||
|
|
||||||
|
|
||||||
class HybrideTest(BackendTest):
|
class HybrideTest(BackendTest):
|
||||||
BACKEND = 'hybride'
|
MODULE = 'hybride'
|
||||||
|
|
||||||
def test_hybride_list(self):
|
def test_hybride_list(self):
|
||||||
if datetime.now() > datetime(datetime.now().year, 6, 30) and datetime.now() < datetime(datetime.now().year, 9, 15):
|
if datetime.now() > datetime(datetime.now().year, 6, 30) and datetime.now() < datetime(datetime.now().year, 9, 15):
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class ImdbTest(BackendTest):
|
class ImdbTest(BackendTest):
|
||||||
BACKEND = 'imdb'
|
MODULE = 'imdb'
|
||||||
|
|
||||||
def test_search_movie(self):
|
def test_search_movie(self):
|
||||||
movies = list(self.backend.iter_movies('spiderman'))
|
movies = list(self.backend.iter_movies('spiderman'))
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class ImgurTest(BackendTest):
|
class ImgurTest(BackendTest):
|
||||||
BACKEND = 'imgur'
|
MODULE = 'imgur'
|
||||||
|
|
||||||
# small gif file
|
# small gif file
|
||||||
DATA = 'R0lGODlhAQABAIAAAP///wAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==\n'
|
DATA = 'R0lGODlhAQABAIAAAP///wAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==\n'
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class INATest(BackendTest):
|
class INATest(BackendTest):
|
||||||
BACKEND = 'ina'
|
MODULE = 'ina'
|
||||||
|
|
||||||
def test_ina(self):
|
def test_ina(self):
|
||||||
l = list(self.backend.search_videos('chirac'))
|
l = list(self.backend.search_videos('chirac'))
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class IndeedTest(BackendTest):
|
class IndeedTest(BackendTest):
|
||||||
BACKEND = 'indeed'
|
MODULE = 'indeed'
|
||||||
|
|
||||||
def test_indeed_search(self):
|
def test_indeed_search(self):
|
||||||
l = list(self.backend.search_job('informaticien'))
|
l = list(self.backend.search_job('informaticien'))
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ import random
|
||||||
|
|
||||||
|
|
||||||
class INGTest(BackendTest):
|
class INGTest(BackendTest):
|
||||||
BACKEND = 'ing'
|
MODULE = 'ing'
|
||||||
|
|
||||||
def test_accounts(self):
|
def test_accounts(self):
|
||||||
l = list(self.backend.iter_accounts())
|
l = list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class InrocksTest(BackendTest):
|
class InrocksTest(BackendTest):
|
||||||
BACKEND = 'inrocks'
|
MODULE = 'inrocks'
|
||||||
|
|
||||||
def test_new_messages(self):
|
def test_new_messages(self):
|
||||||
for message in self.backend.iter_unread_messages():
|
for message in self.backend.iter_unread_messages():
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class IpinfodbTest(BackendTest):
|
class IpinfodbTest(BackendTest):
|
||||||
BACKEND = 'ipinfodb'
|
MODULE = 'ipinfodb'
|
||||||
|
|
||||||
def test_ipinfobd(self):
|
def test_ipinfobd(self):
|
||||||
self.backend.get_location('88.198.11.130')
|
self.backend.get_location('88.198.11.130')
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ from weboob.capabilities.video import BaseVideo
|
||||||
|
|
||||||
|
|
||||||
class JacquieEtMichelTest(BackendTest):
|
class JacquieEtMichelTest(BackendTest):
|
||||||
BACKEND = 'jacquieetmichel'
|
MODULE = 'jacquieetmichel'
|
||||||
|
|
||||||
def test_search(self):
|
def test_search(self):
|
||||||
self.assertTrue(len(list(self.backend.search_videos('anus', nsfw=False))) == 0)
|
self.assertTrue(len(list(self.backend.search_videos('anus', nsfw=False))) == 0)
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class VelibTest(BackendTest):
|
class VelibTest(BackendTest):
|
||||||
BACKEND = 'jcvelaux'
|
MODULE = 'jcvelaux'
|
||||||
|
|
||||||
def test_velib(self):
|
def test_velib(self):
|
||||||
l = list(self.backend.iter_gauges())
|
l = list(self.backend.iter_gauges())
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class JVMalinTest(BackendTest):
|
class JVMalinTest(BackendTest):
|
||||||
BACKEND = 'jvmalin'
|
MODULE = 'jvmalin'
|
||||||
|
|
||||||
def test_roadmap_cities(self):
|
def test_roadmap_cities(self):
|
||||||
filters = RoadmapFilters()
|
filters = RoadmapFilters()
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ from random import choice
|
||||||
|
|
||||||
|
|
||||||
class KickassTest(BackendTest):
|
class KickassTest(BackendTest):
|
||||||
BACKEND = 'kickass'
|
MODULE = 'kickass'
|
||||||
|
|
||||||
def test_torrent(self):
|
def test_torrent(self):
|
||||||
torrents = list(self.backend.iter_torrents('debian'))
|
torrents = list(self.backend.iter_torrents('debian'))
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class LaCentraleTest(BackendTest):
|
class LaCentraleTest(BackendTest):
|
||||||
BACKEND = 'lacentrale'
|
MODULE = 'lacentrale'
|
||||||
|
|
||||||
def test_lacentrale(self):
|
def test_lacentrale(self):
|
||||||
products = list(self.backend.search_products('1000€,pro'))
|
products = list(self.backend.search_products('1000€,pro'))
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class LCLtTest(BackendTest):
|
class LCLtTest(BackendTest):
|
||||||
BACKEND = 'lcl'
|
MODULE = 'lcl'
|
||||||
|
|
||||||
def test_lcl(self):
|
def test_lcl(self):
|
||||||
list(self.backend.iter_accounts())
|
list(self.backend.iter_accounts())
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class LeclercMobileTest(BackendTest):
|
class LeclercMobileTest(BackendTest):
|
||||||
BACKEND = 'leclercmobile'
|
MODULE = 'leclercmobile'
|
||||||
|
|
||||||
def test_list(self):
|
def test_list(self):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ from weboob.tools.html import html2text
|
||||||
|
|
||||||
|
|
||||||
class LeFigaroTest(BackendTest):
|
class LeFigaroTest(BackendTest):
|
||||||
BACKEND = 'lefigaro'
|
MODULE = 'lefigaro'
|
||||||
|
|
||||||
def test_lefigaro(self):
|
def test_lefigaro(self):
|
||||||
l = list(self.backend.iter_threads())
|
l = list(self.backend.iter_threads())
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class LiberationTest(BackendTest):
|
class LiberationTest(BackendTest):
|
||||||
BACKEND = 'liberation'
|
MODULE = 'liberation'
|
||||||
|
|
||||||
def test_new_messages(self):
|
def test_new_messages(self):
|
||||||
for message in self.backend.iter_unread_messages():
|
for message in self.backend.iter_unread_messages():
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class LolixTest(BackendTest):
|
class LolixTest(BackendTest):
|
||||||
BACKEND = 'lolix'
|
MODULE = 'lolix'
|
||||||
|
|
||||||
def test_lolix_advanced_search(self):
|
def test_lolix_advanced_search(self):
|
||||||
l = list(self.backend.advanced_search_job())
|
l = list(self.backend.advanced_search_job())
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class LutimTest(BackendTest):
|
class LutimTest(BackendTest):
|
||||||
BACKEND = 'lutim'
|
MODULE = 'lutim'
|
||||||
|
|
||||||
# small gif file
|
# small gif file
|
||||||
DATA = 'R0lGODlhAQABAIAAAP///wAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==\n'
|
DATA = 'R0lGODlhAQABAIAAAP///wAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==\n'
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class MailinatorTest(BackendTest):
|
class MailinatorTest(BackendTest):
|
||||||
BACKEND = 'mailinator'
|
MODULE = 'mailinator'
|
||||||
|
|
||||||
def test_mailinator(self):
|
def test_mailinator(self):
|
||||||
t = self.backend.get_thread('qwerty')
|
t = self.backend.get_thread('qwerty')
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.capabilities.gallery.genericcomicreadertest import GenericComi
|
||||||
|
|
||||||
|
|
||||||
class MangafoxTest(GenericComicReaderTest):
|
class MangafoxTest(GenericComicReaderTest):
|
||||||
BACKEND = 'mangafox'
|
MODULE = 'mangafox'
|
||||||
|
|
||||||
def test_download(self):
|
def test_download(self):
|
||||||
return self._test_download('glass_no_kamen/v02/c000')
|
return self._test_download('glass_no_kamen/v02/c000')
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ from weboob.tools.capabilities.gallery.genericcomicreadertest import GenericComi
|
||||||
|
|
||||||
|
|
||||||
class MangagoTest(GenericComicReaderTest):
|
class MangagoTest(GenericComicReaderTest):
|
||||||
BACKEND = 'mangago'
|
MODULE = 'mangago'
|
||||||
|
|
||||||
def test_download(self):
|
def test_download(self):
|
||||||
return self._test_download('manga/love_scar/mh/manga/love_scar/c001/')
|
return self._test_download('manga/love_scar/mh/manga/love_scar/c001/')
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ from weboob.tools.capabilities.gallery.genericcomicreadertest import GenericComi
|
||||||
|
|
||||||
|
|
||||||
class MangahereTest(GenericComicReaderTest):
|
class MangahereTest(GenericComicReaderTest):
|
||||||
BACKEND = 'mangahere'
|
MODULE = 'mangahere'
|
||||||
|
|
||||||
def test_download(self):
|
def test_download(self):
|
||||||
return self._test_download('glass_no_kamen/v02/c000')
|
return self._test_download('glass_no_kamen/v02/c000')
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ from weboob.tools.capabilities.gallery.genericcomicreadertest import GenericComi
|
||||||
|
|
||||||
|
|
||||||
class MangareaderTest(GenericComicReaderTest):
|
class MangareaderTest(GenericComicReaderTest):
|
||||||
BACKEND = 'mangareader'
|
MODULE = 'mangareader'
|
||||||
|
|
||||||
def test_download(self):
|
def test_download(self):
|
||||||
return self._test_download('glass-mask/3')
|
return self._test_download('glass-mask/3')
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class MareeinfoTest(BackendTest):
|
class MareeinfoTest(BackendTest):
|
||||||
BACKEND = 'mareeinfo'
|
MODULE = 'mareeinfo'
|
||||||
|
|
||||||
def test_mareeinfo(self):
|
def test_mareeinfo(self):
|
||||||
l = list(self.backend.iter_gauges())
|
l = list(self.backend.iter_gauges())
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
|
|
||||||
class MarmitonTest(BackendTest):
|
class MarmitonTest(BackendTest):
|
||||||
BACKEND = 'marmiton'
|
MODULE = 'marmiton'
|
||||||
|
|
||||||
def test_recipe(self):
|
def test_recipe(self):
|
||||||
recipes = self.backend.iter_recipes('fondue')
|
recipes = self.backend.iter_recipes('fondue')
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ from datetime import datetime
|
||||||
|
|
||||||
|
|
||||||
class MediawikiTest(BackendTest):
|
class MediawikiTest(BackendTest):
|
||||||
BACKEND = 'mediawiki'
|
MODULE = 'mediawiki'
|
||||||
|
|
||||||
def test_get_content(self):
|
def test_get_content(self):
|
||||||
self.backend.get_content(u"Utilisateur:Clemux/Test")
|
self.backend.get_content(u"Utilisateur:Clemux/Test")
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue