fix async bug with cards

This commit is contained in:
Vincent Paredes 2015-04-20 18:41:34 +02:00 committed by Romain Bignon
commit 08e6aff39f

View file

@ -251,6 +251,9 @@ class AccountHistoryPage(LoggedPage, HTMLPage):
class CBHistoryPage(AccountHistoryPage):
def get_operations(self):
def validate(self, obj):
return True
self._get_operations.item.validate = validate
for tr in AccountHistoryPage.get_operations(self):
tr.type = tr.TYPE_CARD
yield tr