[Kimchi-devel] [PATCH] login: update test config case

shaohef at linux.vnet.ibm.com shaohef at linux.vnet.ibm.com
Thu Jun 12 11:41:53 UTC 2014


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

change some config of cherrypy root. update the test case.

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

diff --git a/tests/test_config.py.in b/tests/test_config.py.in
index 4e4375b..572533a 100644
--- a/tests/test_config.py.in
+++ b/tests/test_config.py.in
@@ -104,6 +104,7 @@ class ConfigTests(unittest.TestCase):
                 'tools.sessions.locking': 'explicit',
                 'tools.sessions.storage_type': 'ram',
                 'tools.sessions.timeout': SESSIONSTIMEOUT,
+                'tools.kimchisession.on': True,
                 'tools.kimchiauth.on': False
             },
             '/vnc_auto.html': {
@@ -112,6 +113,12 @@ class ConfigTests(unittest.TestCase):
             '/spice.html': {
                 'tools.kimchiauth.on': True
             },
+            '/kimchi-ui.html': {
+                 'tools.kimchiauth.on': True
+             },
+           '/login.html': {
+                'tools.kimchisession.on': False,
+            },
             '/css': {
                 'tools.staticdir.on': True,
                 'tools.staticdir.dir': '%s/ui/css' % paths.prefix,
-- 
1.9.3




More information about the Kimchi-devel mailing list