Commit 66db1b0e authored by Maxime Pommier's avatar Maxime Pommier Committed by Romain Bignon

[societegenerale] Remove duplicate code line

parent f65ee537
......@@ -596,14 +596,6 @@ class OldHistoryPage(LoggedPage, HTMLPage):
assert self.doc.xpath('//div[@class="error_content"]'), 'There should have link to history page.'
return CleanText('//div[@class="error_content"]//span[@class="error_msg"]')(self.doc)
def get_error_msg(self):
assert self.doc.xpath('//div[@class="error_content"]'), 'There should have link to history page.'
return CleanText('//div[@class="error_content"]//span[@class="error_msg"]')(self.doc)
def get_error_msg(self):
assert self.doc.xpath('//div[@class="error_content"]'), 'There should have link to history page.'
return CleanText('//div[@class="error_content"]//span[@class="error_msg"]')(self.doc)
class LifeInsurance(LoggedPage, HTMLPage):
def on_load(self):
......
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