

def test_decode(self):
    data = {
        'a test key': 'a test value',
    }
    encoded = self.session.encode(data)
    self.assertEqual(self.session.decode(encoded), data)

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/sessions/tests.py SessionTestsMixin.test_decode/original