s/BACKEND/MODULE/

This commit is contained in:
Florent 2014-09-22 17:32:03 +02:00
commit 3ecb491c1c
164 changed files with 165 additions and 165 deletions

View file

@ -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())

View file

@ -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')]

View file

@ -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')

View file

@ -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'))

View file

@ -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()))

View file

@ -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'))

View file

@ -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())

View file

@ -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')

View file

@ -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():

View file

@ -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():

View file

@ -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())

View file

@ -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'))

View file

@ -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())

View file

@ -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()

View file

@ -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'))

View file

@ -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'))

View file

@ -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, ), []))

View file

@ -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:

View file

@ -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())

View file

@ -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