Fix my tests
This commit is contained in:
parent
1142db73f7
commit
6fc012cb39
1 changed files with 3 additions and 5 deletions
|
@ -9,7 +9,6 @@ from django.test import TestCase, override_settings
|
|||
from mock import patch
|
||||
from fakeldap import MockLDAP
|
||||
|
||||
|
||||
from allauth_cas.test.testcases import CASTestCase, CASViewTestCase
|
||||
from .adapter import deprecate_clippers
|
||||
from allauth.socialaccount.models import SocialAccount
|
||||
|
@ -38,11 +37,10 @@ def prevent_logout_pwd_change(client, user):
|
|||
session[HASH_SESSION_KEY] = user.get_session_auth_hash()
|
||||
session.save()
|
||||
|
||||
"""
|
||||
class ViewsTests(TestCase):
|
||||
""
|
||||
"""
|
||||
Checks (barely) that templates do not contain errors.
|
||||
""
|
||||
"""
|
||||
def setUp(self):
|
||||
self.u = User.objects.create_user('user', 'user@mail.net', 'user')
|
||||
|
||||
|
@ -146,8 +144,8 @@ class ViewsTests(TestCase):
|
|||
def test_account_reset_password_from_key_done(self):
|
||||
r = self.client.get(reverse('account_reset_password_from_key_done'))
|
||||
self.assertEqual(r.status_code, 200)
|
||||
"""
|
||||
|
||||
@override_settings(SOCIALACCOUNT_ADAPTER='allauth_ens.adapter.LongTermClipperAccountAdapter')
|
||||
class LongTermClipperTests(CASTestCase):
|
||||
|
||||
def setUp(self):
|
||||
|
|
Loading…
Reference in a new issue