thunderbird_accounts.subscription.tests.test_commands

Classes

CreatePlanForE2ETestCase([methodName])

GetPaddlePriceTest([methodName])

GetPaddleProductTest([methodName])

class thunderbird_accounts.subscription.tests.test_commands.GetPaddleProductTest(methodName='runTest')[source]

Bases: TestCase

class thunderbird_accounts.subscription.tests.test_commands.GetPaddlePriceTest(methodName='runTest')[source]

Bases: TestCase

test_created_success_empty_billing_cycle()[source]

Regression test for https://github.com/thunderbird/thunderbird-accounts/issues/1127. Prices that are one-off do not have a billing_cycle as they are a one-off charge, so existing functionality was failing due to a property being accessed from a Nonetype.

class thunderbird_accounts.subscription.tests.test_commands.CreatePlanForE2ETestCase(methodName='runTest')[source]

Bases: TestCase