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()
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue