diff --git a/colab/accounts/tests/test_user.py b/colab/accounts/tests/test_user.py index 26e889d..b55a686 100644 --- a/colab/accounts/tests/test_user.py +++ b/colab/accounts/tests/test_user.py @@ -2,7 +2,10 @@ Test User class. Objective: Test parameters, and behavior. """ +import mock + from colab.accounts.models import User +from colab.accounts import forms as accounts_forms from django.test import TestCase, Client @@ -11,6 +14,7 @@ class UserTest(TestCase): def setUp(self): self.user = self.create_user() self.client = Client() + accounts_forms.validate_social_account = mock.Mock(return_value=True) def tearDown(self): pass -- libgit2 0.21.2