Пример #1
0
    def test_send_mail_to_student(self):
        """
        Do invalid mail template test
        """

        d = {'message': 'message_type_that_doesn\'t_exist'}

        send_mail_ret = send_mail_to_student('*****@*****.**', d)
        self.assertFalse(send_mail_ret)
    def test_send_mail_to_student(self):
        """
        Do invalid mail template test
        """

        d = {'message': 'message_type_that_doesn\'t_exist'}

        send_mail_ret = send_mail_to_student('*****@*****.**', d)
        self.assertFalse(send_mail_ret)
    def test_send_mail_to_student(self):
        """
        Do invalid mail template test
        """

        d = {"message": "message_type_that_doesn't_exist"}

        send_mail_ret = send_mail_to_student("*****@*****.**", d)
        self.assertFalse(send_mail_ret)