Commit c02d5202 authored by Vincent Ardisson's avatar Vincent Ardisson Committed by Romain Bignon

[yomoni] detect "STEP_2" as ActionNeeded

Closes: 599421@redmine
parent f9fd97fa
......@@ -83,6 +83,11 @@ class YomoniBrowser(APIBrowser):
except ClientError:
raise BrowserIncorrectPassword()
waiting_statuses = (
def iter_accounts(self):
if self.accounts:
......@@ -95,7 +100,7 @@ class YomoniBrowser(APIBrowser):'/user/%s/project/%s/' % (self.users['userId'], project['projectId']), method="OPTIONS")
me = self.request('/user/%s/project/%s/' % (self.users['userId'], project['projectId']), headers=self.request_headers)
waiting = (me['status'] in self.waiting_statuses)
# Check project in progress
if not me['numeroContrat'] or not me['dateAdhesion']:
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