Commit 179fd167 authored by Sylvie Ye's avatar Sylvie Ye Committed by Romain Bignon

[societegenerale] handle loan history error message

parent 599806ed
......@@ -396,7 +396,10 @@ class LifeInsurance(LoggedPage, HTMLPage):
for error_msg in errors_msg:
if error_msg and 'Le service est momentanément indisponible' in error_msg:
raise BrowserUnavailable(error_msg)
assert not any(errors_msg), 'Some errors are not handle yet'
if error_msg and 'Aucune opération' in error_msg:
break
else:
assert not any(errors_msg), 'Some errors are not handle yet'
def has_link(self):
return Link('//a[@href="asvcns20a.html"]', default=NotAvailable)(self.doc)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment