Commit f389ebb1 authored by David Kremer's avatar David Kremer Committed by Romain Bignon

[capabilities/bank/test] skip recipients if not instance of CapBankTransfer

parent 4e6336fa
......@@ -19,6 +19,7 @@
from weboob.capabilities.base import empty
from weboob.capabilities.bank import CapBankTransfer
from weboob.exceptions import NoAccountsException
......@@ -111,6 +112,8 @@ class BankStandardTest(object):
assert inv.valuation
def check_recipients(self, account):
if not isinstance(self.backend, CapBankTransfer):
return
for rcpt in self.backend.iter_transfer_recipients(account):
self.check_recipient(account, rcpt)
......
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