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']
class ExampleTest(BackendTest):
BACKEND = 'example'
MODULE = 'example'
def test_iter_accounts(self):
accounts = list(self.backend.iter_accounts())

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -22,7 +22,7 @@ from weboob.tools.test import BackendTest
class ArretSurImagesTest(BackendTest):
BACKEND = 'arretsurimages'
MODULE = 'arretsurimages'
def test_arretsurimages(self):
raise NotImplementedError()

View file

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

View file

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

View file

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

View file

@ -23,7 +23,7 @@ from weboob.tools.browser import BrowserUnavailable
class AuMTest(BackendTest):
BACKEND = 'aum'
MODULE = 'aum'
def test_new_messages(self):
try:

View file

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

View file

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