from unittest.mock import patch


class MockSendContactEmail:

    def setUp(self):
        self.send_mail_celery_patch = patch('main.forms.tasks.send_email')
        self.send_mail_celery_mock = self.send_mail_celery_patch.start()
        super().setUp()

    def tearDown(self):
        self.send_mail_celery_patch.stop()
        self.send_mail_celery_mock = None
        super().tearDown()

7a35e860ddb7ba1e64d0c2cab09531f27b087c8f
<mask token>


class MockSendContactEmail:
    <mask token>
    <mask token>

<mask token>


class MockSendContactEmail:

    def setUp(self):
        self.send_mail_celery_patch = patch('main.forms.tasks.send_email')
        self.send_mail_celery_mock = self.send_mail_celery_patch.start()
        super().setUp()
    <mask token>

<mask token>


class MockSendContactEmail:

    def setUp(self):
        self.send_mail_celery_patch = patch('main.forms.tasks.send_email')
        self.send_mail_celery_mock = self.send_mail_celery_patch.start()
        super().setUp()

    def tearDown(self):
        self.send_mail_celery_patch.stop()
        self.send_mail_celery_mock = None
        super().tearDown()

from unittest.mock import patch


class MockSendContactEmail:

    def setUp(self):
        self.send_mail_celery_patch = patch('main.forms.tasks.send_email')
        self.send_mail_celery_mock = self.send_mail_celery_patch.start()
        super().setUp()

    def tearDown(self):
        self.send_mail_celery_patch.stop()
        self.send_mail_celery_mock = None
        super().tearDown()
