thunderbird_accounts.support.tests.test_views

Classes

ZendeskContactFieldsTestCase([methodName])

ZendeskContactSubmitTestCase([methodName])

ZendeskContactSubmitUserTestCase([methodName])

Tests for the Zendesk user update (external id + plan status) done before ticket creation.

ZendeskPlanStatusTestCase([methodName])

class thunderbird_accounts.support.tests.test_views.ZendeskContactFieldsTestCase(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

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

class thunderbird_accounts.support.tests.test_views.ZendeskContactSubmitTestCase(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

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

test_contact_submit_name_defaults_to_email_when_not_provided(mock_parse_ua, mock_client_cls)

Test that when name is not provided in the payload, it defaults to the email address.

test_contact_submit_uses_name_from_payload_when_provided(mock_parse_ua, mock_client_cls)

Test that when name is provided in the payload, it uses that name instead of defaulting to email.

class thunderbird_accounts.support.tests.test_views.ZendeskPlanStatusTestCase(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

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

class thunderbird_accounts.support.tests.test_views.ZendeskContactSubmitUserTestCase(methodName='runTest')[source]

Bases: TestCase

Tests for the Zendesk user update (external id + plan status) done before ticket creation.

setUp()[source]

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