thunderbird_accounts.subscription.tests.test_views

Classes

PaddleCheckoutCompleteTestCase([methodName])

class thunderbird_accounts.subscription.tests.test_views.PaddleCheckoutCompleteTestCase(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_success_dev()

Simple test, this doesn’t actually test if we’ve got the correct data, it just makes sure we don’t crash

test_fail_without_txid_dev()

We don’t have a transaction id in the session, so we are sent back to /subscribe

We can’t handle these requests because we need the transaction id to fill in paddle subscription data