我想尝试一下 GAE Testbed,但在完成 instructions on its homepage 后遇到以下错误.
$ nosetests --with-gae
...
ImportError: No module named dev_appserver
我已经确认这发生在 virtualenv 和外部。
最佳答案
使用 --gae-lib-root
选项
$ nosetests --with-gae --gae-lib-root=/opt/my/google_appengine
关于unit-testing - 在 virtualenv 中使用 gaetestbed,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3182879/