# import pytest
# from unittest.mock import patch
# from emails import tasks
# from django.test import TestCase, override_settings
#
#
# def test_celery_task(self):
#     with patch('tasks.send_mail_task.delay') as mock_task:
#         # ...create an instance of the model and save it etc
#         self.assertTrue(mock_task.called)
