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']
|
||||
|
||||
class ExampleTest(BackendTest):
|
||||
BACKEND = 'example'
|
||||
MODULE = 'example'
|
||||
|
||||
def test_iter_accounts(self):
|
||||
accounts = list(self.backend.iter_accounts())
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ Example::
|
|||
from weboob.tools.test import BackendTest
|
||||
|
||||
class YoutubeTest(BackendTest):
|
||||
BACKEND = 'youtube'
|
||||
MODULE = 'youtube'
|
||||
|
||||
def test_youtube(self):
|
||||
l = [v for v in self.backend.iter_search_results('lol')]
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ from weboob.tools.test import BackendTest
|
|||
|
||||
|
||||
class SevenFiftyGramsTest(BackendTest):
|
||||
BACKEND = '750g'
|
||||
MODULE = '750g'
|
||||
|
||||
def test_recipe(self):
|
||||
recipes = self.backend.iter_recipes('fondue')
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
|||
|
||||
|
||||
class AdeccoTest(BackendTest):
|
||||
BACKEND = 'adecco'
|
||||
MODULE = 'adecco'
|
||||
|
||||
def test_adecco_search(self):
|
||||
l = list(self.backend.search_job(u'valet de chambre'))
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ from datetime import datetime
|
|||
|
||||
|
||||
class AgendadulibreTest(BackendTest):
|
||||
BACKEND = 'agendadulibre'
|
||||
MODULE = 'agendadulibre'
|
||||
|
||||
def test_agendadulibre(self):
|
||||
l = list(self.backend.list_events(datetime.now()))
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ from weboob.tools.test import BackendTest
|
|||
import re
|
||||
|
||||
class AllocineTest(BackendTest):
|
||||
BACKEND = 'allocine'
|
||||
MODULE = 'allocine'
|
||||
|
||||
def test_search_movie(self):
|
||||
movies = list(self.backend.iter_movies('spiderman'))
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
|||
|
||||
|
||||
class AlloRestoTest(BackendTest):
|
||||
BACKEND = 'alloresto'
|
||||
MODULE = 'alloresto'
|
||||
|
||||
def test_alloresto(self):
|
||||
l = list(self.backend.iter_accounts())
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ from weboob.tools.test import BackendTest
|
|||
|
||||
|
||||
class AllrecipesTest(BackendTest):
|
||||
BACKEND = 'allrecipes'
|
||||
MODULE = 'allrecipes'
|
||||
|
||||
def test_recipe(self):
|
||||
recipes = self.backend.iter_recipes('french fries')
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
|||
|
||||
|
||||
class AmeliTest(BackendTest):
|
||||
BACKEND = 'ameli'
|
||||
MODULE = 'ameli'
|
||||
|
||||
def test_ameli(self):
|
||||
for subscription in self.backend.iter_subscription():
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
|||
|
||||
|
||||
class AmeliProTest(BackendTest):
|
||||
BACKEND = 'AmeliPro'
|
||||
MODULE = 'AmeliPro'
|
||||
|
||||
def test_AmeliPro(self):
|
||||
for subscription in self.backend.iter_subscription():
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
|||
|
||||
|
||||
class AmericanExpressTest(BackendTest):
|
||||
BACKEND = 'americanexpress'
|
||||
MODULE = 'americanexpress'
|
||||
|
||||
def test_americanexpress(self):
|
||||
l = list(self.backend.iter_accounts())
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
|||
|
||||
|
||||
class ApecTest(BackendTest):
|
||||
BACKEND = 'apec'
|
||||
MODULE = 'apec'
|
||||
|
||||
def test_apec_search(self):
|
||||
l = list(self.backend.search_job(u'informaticien'))
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
|||
|
||||
|
||||
class ApivieTest(BackendTest):
|
||||
BACKEND = 'apivie'
|
||||
MODULE = 'apivie'
|
||||
|
||||
def test_apivie(self):
|
||||
l = list(self.backend.iter_accounts())
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
|||
|
||||
|
||||
class ArretSurImagesTest(BackendTest):
|
||||
BACKEND = 'arretsurimages'
|
||||
MODULE = 'arretsurimages'
|
||||
|
||||
def test_arretsurimages(self):
|
||||
raise NotImplementedError()
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ from weboob.capabilities.video import BaseVideo
|
|||
|
||||
|
||||
class ArteTest(BackendTest):
|
||||
BACKEND = 'arte'
|
||||
MODULE = 'arte'
|
||||
|
||||
def test_search(self):
|
||||
l = list(self.backend.search_videos('a'))
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ from random import choice
|
|||
|
||||
|
||||
class AttilasubTest(BackendTest):
|
||||
BACKEND = 'attilasub'
|
||||
MODULE = 'attilasub'
|
||||
|
||||
def test_subtitle(self):
|
||||
subtitles = list(self.backend.iter_subtitles('fr', 'spiderman'))
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ from weboob.capabilities.radio import Radio
|
|||
|
||||
|
||||
class AudioAddictTest(BackendTest):
|
||||
BACKEND = 'audioaddict'
|
||||
MODULE = 'audioaddict'
|
||||
|
||||
def test_audioaddict(self):
|
||||
ls = list(self.backend.iter_resources((Radio, ), []))
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ from weboob.tools.browser import BrowserUnavailable
|
|||
|
||||
|
||||
class AuMTest(BackendTest):
|
||||
BACKEND = 'aum'
|
||||
MODULE = 'aum'
|
||||
|
||||
def test_new_messages(self):
|
||||
try:
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
|||
|
||||
|
||||
class AXABanqueTest(BackendTest):
|
||||
BACKEND = 'axabanque'
|
||||
MODULE = 'axabanque'
|
||||
|
||||
def test_axabanque(self):
|
||||
l = list(self.backend.iter_accounts())
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
|
|||
|
||||
|
||||
class BanqueAccordTest(BackendTest):
|
||||
BACKEND = 'banqueaccord'
|
||||
MODULE = 'banqueaccord'
|
||||
|
||||
def test_banqueaccord(self):
|
||||
raise NotImplementedError()
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue