diff options
-rw-r--r-- | django_openid_auth/tests/test_settings.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/django_openid_auth/tests/test_settings.py b/django_openid_auth/tests/test_settings.py index cfcc176..d98eff8 100644 --- a/django_openid_auth/tests/test_settings.py +++ b/django_openid_auth/tests/test_settings.py @@ -46,8 +46,9 @@ class SessionSerializerTest(TestCase): [0] https://bit.ly/1myzetd [1] https://github.com/openid/python-openid/issues/17 """ + @skipIf(VERSION < (1, 5), "Django 1.4 does not provide SESSION_SERIALIZER") - def test_using_json_session_serializer(self): + def test_using_pickle_session_serializer(self): serializer = getattr(settings, 'SESSION_SERIALIZER', '') self.assertEqual( serializer, 'django.contrib.sessions.serializers.PickleSerializer') |