fix #1706 marmiton and 750g are now working using browser2

This commit is contained in:
Bezleputh 2015-01-19 15:07:04 +01:00 committed by Romain Bignon
commit 8250846448
9 changed files with 151 additions and 260 deletions

View file

@ -18,13 +18,13 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.tools.test import BackendTest
import itertools
class MarmitonTest(BackendTest):
MODULE = 'marmiton'
def test_recipe(self):
recipes = self.backend.iter_recipes('fondue')
recipes = list(itertools.islice(self.backend.iter_recipes('fondue'), 0, 20))
for recipe in recipes:
full_recipe = self.backend.get_recipe(recipe.id)
assert full_recipe.instructions