示例#1
0
文件: test_testing.py 项目: avdd/flak
 def index(cx):
     return text_type(cx.session['foo'])
示例#2
0
文件: test_helpers.py 项目: avdd/flak
 def add(cx):
     json = cx.get_json()
     return text_type(json["a"] + json["b"])
示例#3
0
文件: test_helpers.py 项目: avdd/flak
 def return_json(cx):
     return cx.jsonify(foo=text_type(cx.get_json()))
示例#4
0
文件: test_basic.py 项目: avdd/flak
 def test(cx):
     return text_type(cx.session.permanent)