Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

* Writing first test - testing query string handling.

  • Loading branch information...
commit cac28f457e4b026ab99cb822bc41a4c176ab48b4 1 parent 5127c3e
@breily breily authored
Showing with 13 additions and 0 deletions.
  1. +13 −0 tests/query_string_test.py
View
13 tests/query_string_test.py
@@ -0,0 +1,13 @@
+import juno
+
+init({'use_db': False, 'use_templates': False, 'use_static': False,
+ 'mode': 'wsgi',
+
+@juno.get('/')
+def index(web):
+ ret = ''
+ for k, v in web.input().items():
+ ret += '%s: %s\t' % (k, v)
+ return ret
+
+application = run()
Please sign in to comment.
Something went wrong with that request. Please try again.