如何获取 Eclipse + PyDev +应用程序引擎单元测试有效吗?
我想使用 Python Google App Engine 项目运行单元测试
运行方式=> Python 单元测试
但是当我尝试所有模型测试时都会出现错误消息:
BadArgumentError: app must not be empty.
有人可以使用它吗?
注意:使用 Nose --with-gae 测试运行良好。但我希望 PyDev 与资源超链接等集成。
I want to run my unit tests for a Python Google App Engine project using
Run As => Python unit-test
But when I try that all my Model tests bail with the error message:
BadArgumentError: app must not be empty.
Anyone got this to work?
NB: The tests runs fine using Nose --with-gae. But I want the PyDev integration with hyperlinking of resources and such.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将我从 Fabioz(PyDev 创建者)本人在 SF 的 PyDev 论坛上得到的答案粘贴到: https://sourceforge.net/projects/pydev/forums/forum/293649/topic/3618848
事实上,这就是我所做的,并且效果正如广告中所宣传的那样。我还输入了该功能请求。您可以通过在请求背后提供支持来提供帮助: https://sourceforge.net/tracker/?func=detail&aid=2974043&group_id=85796&atid=577332
Pasting the answer I got from the Fabioz (the PyDev creator) himself over at the PyDev forums on SF: https://sourceforge.net/projects/pydev/forums/forum/293649/topic/3618848
Indeed, that's what I did and it works as advertised. I also entered that feature request. You can help by pushing your support behind the request: https://sourceforge.net/tracker/?func=detail&aid=2974043&group_id=85796&atid=577332