weboob.tools.capabilities.bank.test

class weboob.tools.capabilities.bank.test.BankStandardTest

Bases: object

Mixin for simple tests on CapBank backends.

This checks: * there are accounts * accounts have an id, a label and a balance * history is implemented (optional) * transactions have a date, a label and an amount * investments are implemented (optional) * investments have a label and a valuation * recipients are implemented (optional) * recipients have an id and a label

allow_notimplemented_coming = False
allow_notimplemented_history = False
allow_notimplemented_investments = False
allow_notimplemented_recipients = False
check_account(account)
check_coming(account)
check_history(account)
check_investment(account, inv)
check_investments(account)
check_recipient(account, rcpt)
check_recipients(account)
check_transaction(account, tr, coming)
test_basic()