Commit e9d5dcff authored by Quentin Defenouillere's avatar Quentin Defenouillere Committed by Romain Bignon

[caissedepargne] Added netpp connections to NotImplemented subscriptions

Connections using the professional "measures" interface ("netpp") in the
URL have a specific space that is not taken in consideration by the
iter_subscriptions() implementation yet. This patch avoids crashes
because of the assertion for both netpro and netpp domains.

Closes: 6932@zendesk
parent ad4eb259
......@@ -672,7 +672,7 @@ class CaisseEpargne(LoginBrowser, StatesMixin):
def iter_subscription(self):
# CapDocument is not implemented for professional accounts yet
if "netpro" in
if any(x in self.url for x in ["netpp", "netpro"]):
raise NotImplementedError()
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