def test_session_get_decoded(self):
        self.session['x'] = 1
        self.session.save()

        s = Session.objects.get(session_key=self.session.session_key)

        self.assertEqual(s.get_decoded(), {'x': 1})
Test we can use Session.get_decoded to retrieve data stored
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/sessions/tests.py/DatabaseSessionTests.test_session_get_decoded