From: karim hamidou Date: Tue, 15 May 2012 19:21:10 +0000 (+0200) Subject: adding a test file X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=miniwsgi.git adding a test file --- diff --git a/hello.py b/hello.py new file mode 100644 index 0000000..02f91da --- /dev/null +++ b/hello.py @@ -0,0 +1,11 @@ +from __init__ import run + +def myview(request): + return "

Hello world!

" + +urls = { + "/hello" : {"view": myview} +} + +if __name__ == "__main__": + run(urls)