Add history of calls on freemobile module

This commit is contained in:
Florent 2012-03-13 19:22:24 +01:00 committed by Romain Bignon
commit 5fac5421eb
4 changed files with 39 additions and 14 deletions

View file

@ -64,7 +64,9 @@ class FreeMobileBackend(BaseBackend, ICapBill):
raise SubscriptionNotFound()
def iter_history(self, subscription):
raise NotImplementedError()
with self.browser:
for history in self.browser.get_history():
yield history
def get_get_bill(self, subscription, id):
raise NotImplementedError()