[Kimchi-devel] [PATCH V3 4/4] session expire: update test case

shaohef at linux.vnet.ibm.com shaohef at linux.vnet.ibm.com
Wed Mar 5 23:44:59 UTC 2014


From: ShaoHe Feng <shaohef at linux.vnet.ibm.com>

update test_config.py.in

Signed-off-by: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
---
 tests/test_config.py.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/test_config.py.in b/tests/test_config.py.in
index 06f9300..a2d5f9d 100644
--- a/tests/test_config.py.in
+++ b/tests/test_config.py.in
@@ -90,6 +90,7 @@ class ConfigTests(unittest.TestCase):
         Paths.get_prefix = PluginPaths.get_prefix = get_prefix
         paths = Paths()
         CACHEEXPIRES = 31536000
+        SESSIONSTIMEOUT = 10
         configObj = {
             '/': {'tools.trailing_slash.on': False,
                   'request.methods_with_bodies': ('POST', 'PUT'),
@@ -99,6 +100,7 @@ class ConfigTests(unittest.TestCase):
                   'tools.sessions.httponly': True,
                   'tools.sessions.locking': 'explicit',
                   'tools.sessions.storage_type': 'ram',
+                  'tools.sessions.timeout': SESSIONSTIMEOUT,
                   'tools.kimchiauth.on': False},
             '/css': {
                 'tools.staticdir.on': True,
-- 
1.8.4.2




More information about the Kimchi-devel mailing list