Skip to content
Browse files

* Writing first test - testing query string handling.

  • Loading branch information...
1 parent 5127c3e commit cac28f457e4b026ab99cb822bc41a4c176ab48b4 @breily breily committed Mar 21, 2009
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()

0 comments on commit cac28f4

Please sign in to comment.
Something went wrong with that request. Please try again.