deposit.tests module

class deposit.tests.DepositTest(methodName='runTest')[source]

Bases: django.test.testcases.TestCase

test_refresh_deposit_statuses()[source]
class deposit.tests.ProtocolTest(*args, **kwargs)[source]

Bases: backend.tests.PrefilledTest

Set of generic tests that any protocol should pass.

assertEqualOrLog(a, b)[source]

Same as assertEqual but prints logs before failing if the two quantities are not equal.

dry_deposit(paper, **form_fields)[source]

This is not a test by itself - it’s a method subclasses can call to create a fake deposit (if the protocol supports it!)

classmethod setUpClass(*args, **kwargs)[source]
test_get_form_return_type()[source]
test_init_deposit()[source]
test_protocol_identifier()[source]