thunderbird_accounts.subscription.management.commands.create_plan_for_e2e_test

Create a new Client Environment from a given Client UUID.

Classes

Command([stdout, stderr, no_color, force_color])

Used for e2e tests to bootstrap the required plan objects.

class thunderbird_accounts.subscription.management.commands.create_plan_for_e2e_test.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: BaseCommand

Used for e2e tests to bootstrap the required plan objects.

This takes in paddle_product_id to make things easier for the test setup.

Usage:

python manage.py create_plan_for_e2e_test name <paddle_product_id>
class ReturnCodes(*values)[source]

Bases: StrEnum

add_arguments(parser)[source]

Entry point for subclassed commands to add custom arguments.

handle(*args, **options)[source]

The actual logic of the command. Subclasses must implement this method.