@@ -0,0 +1,1164 @@
+#!/usr/bin/env python%0A# -*- coding: utf-8 -*-%0A%0Aimport os%0A%0Aimport tests.util%0A%0Aclass SessionsTest(tests.util.TestCase):%0A  root_path = os.path.dirname(os.path.dirname( __file__ )) + %22/gae%22%0A  use_cookie = True%0A%0A  def test_sessions(self):%0A    self.app.get(%22/test/sessions%22)%0A    assert len(self.app.cookiejar) == 0%0A    self.app.post(%22/test/sessions%22)%0A    assert len(self.app.cookiejar) == 0%0A    self.app.put(%22/test/sessions%22)%0A    assert len(self.app.cookiejar) == 1%0A    for cookie in self.app.cookiejar:%0A      if cookie.name == %22__s%22:%0A        assert cookie.value is not None%0A        value = cookie.value%0A        break%0A      else:%0A        raise%0A    self.app.post(%22/test/sessions%22)%0A    assert len(self.app.cookiejar) == 1%0A    for cookie in self.app.cookiejar:%0A      if cookie.name == %22__s%22:%0A        assert cookie.value is not None%0A        assert cookie.value == value%0A        break%0A      else:%0A        raise%0A    self.app.delete(%22/test/sessions%22)%0A    assert len(self.app.cookiejar) == 1%0A    for cookie in self.app.cookiejar:%0A      if cookie.name == %22__s%22:%0A        assert cookie.value is not None%0A        assert cookie.value != value%0A        break%0A      else:%0A        raise%0A

add tests for sessions