tests.unit.test_send_reports module

class tests.unit.test_send_reports.TestSendReports(methodName='runTest')[código fonte]

Bases: unittest.case.TestCase

setUp()[código fonte]

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

tearDown()[código fonte]

Hook method for deconstructing the test fixture after testing it.

test_send_email(mock_MIMEText, mock_SMTP)[código fonte]
test_send_push_notification_invalid_json_response(mock_urllib3)[código fonte]
test_send_push_notification_message_too_big_fails_twice(mock_urllib3)[código fonte]
test_send_push_notification_message_too_big_sucess(mock_urllib3)[código fonte]
test_send_push_notification_success(mock_urllib3)[código fonte]