woob.tools.capabilities.bank.test

class BankStandardTest[source]

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_history = False
allow_notimplemented_coming = False
allow_notimplemented_investments = False
allow_notimplemented_pockets = False
allow_notimplemented_market_orders = False
allow_notimplemented_emitters = False
allow_notimplemented_recipients = False
test_basic()[source]
check_account(account)[source]
check_history(account)[source]
check_coming(account)[source]
check_transaction(account, tr, coming)[source]
check_investments(account)[source]
check_investment(account, inv)[source]
check_pockets(account)[source]
check_pocket(account, pocket)[source]
check_market_orders(account)[source]
check_market_order(account, market_order)[source]
check_recipients(account)[source]
check_recipient(account, rcpt)[source]
check_emitters()[source]
check_emitter(emitter)[source]