def test_load_overlong_key(self):
        warnings_state = get_warnings_state()
        warnings.filterwarnings('ignore',
                                category=CacheKeyWarning)
        self.session._session_key = (string.ascii_letters + string.digits) * 20
        self.assertEqual(self.session.load(), {})
        restore_warnings_state(warnings_state)
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/sessions/tests.py/CacheDBSessionTests.test_load_overlong_key/original