~fgallina/django-openid-auth/django16-compatibility

« back to all changes in this revision

Viewing changes to django_openid_auth/tests/__init__.py

  • Committer: Fabián Ezequiel Gallina
  • Date: 2014-04-23 13:52:18 UTC
  • Revision ID: fabian.gallina@canonical.com-20140423135218-p3k7tewebi6g4h0b
Django 1.6 compatibility

  + Added installation notes about the SESSION_SERIALIZER setting.
  + Included tox.ini section for Python 2.7 + Django 1.6.
  + New decorator override_session_serializer enforces pickle session
    serialization in tests.
  + Added test checking Django version defaults for
    SESSION_SERIALIZER.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
import unittest
30
30
from test_views import *
 
31
from test_settings import *
31
32
from test_store import *
32
33
from test_auth import *
33
34
from test_admin import *
35
36
 
36
37
def suite():
37
38
    suite = unittest.TestSuite()
38
 
    for name in ['test_auth', 'test_models', 'test_store', 'test_views',
39
 
                 'test_admin']:
 
39
    for name in ['test_auth', 'test_models', 'test_settings', 'test_store',
 
40
                 'test_views', 'test_admin']:
40
41
        mod = __import__('%s.%s' % (__name__, name), {}, {}, ['suite'])
41
42
        suite.addTest(mod.suite())
42
43
    return suite