Ai
1 Star 0 Fork 0

天收/tutu-server-py

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
test_hello.py 300 Bytes
一键复制 编辑 原始数据 按行查看 历史
天收 提交于 2021-12-17 16:41 +08:00 . 1
import sys
import os
sys.path.append(os.path.abspath(os.path.dirname(__file__)+'/'+'..'))
from tutu_app import create_app
app=create_app()
def test_hello():
with app.test_client() as client:
rv=client.get("/")
print(rv.__dict__)
print(rv.response.text())
test_hello()
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/cxy/tutu-server-py.git
git@gitee.com:cxy/tutu-server-py.git
cxy
tutu-server-py
tutu-server-py
master

搜索帮助