Skip to content

Test helpers

components.payment_gateway.subcomponents.accounts.models.tests.factories

AccountFactory

Bases: AlanBaseFactory[Account]

Meta

model class-attribute instance-attribute
model = Account

description class-attribute instance-attribute

description = Faker('text', max_nb_chars=100)

external_id class-attribute instance-attribute

external_id = Faker('random_string', length=16)

provider class-attribute instance-attribute

provider = adyen

reference class-attribute instance-attribute

reference = Faker('random_string', length=32)

AccountHolderFactory

Bases: AlanBaseFactory[AccountHolder]

Meta

model class-attribute instance-attribute
model = AccountHolder

description class-attribute instance-attribute

description = Faker('text', max_nb_chars=100)

external_id class-attribute instance-attribute

external_id = Faker('random_string', length=16)

provider class-attribute instance-attribute

provider = adyen

reference class-attribute instance-attribute

reference = Faker('random_string', length=32)