thunderbird_accounts.support.tests.test_views
Classes
|
|
|
- class thunderbird_accounts.support.tests.test_views.ZendeskContactFieldsTestCase(methodName='runTest')[source]
Bases:
TestCase
- class thunderbird_accounts.support.tests.test_views.ZendeskContactSubmitTestCase(methodName='runTest')[source]
Bases:
TestCase- 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.