Skip to content

Commit

Permalink
Mock instead of MagicMock
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolerd committed Jul 29, 2015
1 parent 2e0d14d commit 2708e92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project/tests/test_bl.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from unittest.mock import Mock, MagicMock, patch
from unittest.mock import Mock, patch
from werkzeug.security import check_password_hash
from project.bl import UserBL
from project.tests.utils import ProjectTestCase
from project.models import User, Vacancy
import re


celery_send_mail = MagicMock(return_value=None)
celery_send_mail = Mock(return_value=None)


class TestUserBL(ProjectTestCase):
Expand Down

0 comments on commit 2708e92

Please sign in to comment.