【发布时间】:2010-05-05 14:46:14
【问题描述】:
我正在尝试使用 webtest 编写一些测试来测试我的 python GAE 应用程序。我遇到的问题是应用程序正在侦听端口 8080,但我无法配置 webtest 以访问该端口。
例如,我想使用 app.get('/getreport') 来点击http://localhost:8080/getreport。显然,它只是点击 http://localhost/getreport。
有没有办法设置 webtest 以访问特定端口?
【问题讨论】:
标签: python google-app-engine webtest