Skip to content

Test helpers

components.payment_gateway.subcomponents.payments.models.tests.factories

PaymentRequestFactory

Bases: AlanBaseFactory[PaymentRequest]

Meta

model class-attribute instance-attribute
model = PaymentRequest

account class-attribute instance-attribute

account = SubFactory(AccountFactory)

external_id class-attribute instance-attribute

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

workspace_key class-attribute instance-attribute

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