diff src/server/server.py @ 602:be3fd3874c3a frontends_multi_profiles

add very basic test system accessible from <root_url>/test, to be improved: - if you don't get any AssertError pop-up, everything is fine - TODO: nicely display the results in HTML output
author souliane <souliane@mailoo.org>
date Sat, 07 Feb 2015 19:24:38 +0100
parents a5019e62c3e9
children ea27925ef2a8
line wrap: on
line diff
--- a/src/server/server.py	Sat Feb 07 19:22:45 2015 +0100
+++ b/src/server/server.py	Sat Feb 07 19:24:38 2015 +0100
@@ -1090,6 +1090,7 @@
                 root.putChild(path, EncodingResourceWrapper(resource, [server.GzipEncoderFactory()]))
 
             putChild('', Redirect('libervia.html'))
+            putChild('test', Redirect('libervia_test.html'))
             putChild('json_signal_api', self.signal_handler)
             putChild('json_api', MethodHandler(self))
             putChild('register_api', _register)