Google App Engine でホストされている単純なlxml
パーサーと、いくつかのnose
テストがあります。ターミナルでテストを実行する方法は知っていますが--with-gae
、本番環境でもテストを実行できるようにしたい/unit-tests
. 次のような鼻のテストを実行できます。
import nose
nose.run()
しかし、それはエラーで終わります:
File "/Users/martin/develop/gae/artova-kina/nose/core.py", line 168, in parseArgs
os.chdir(self.config.workingDir)
AttributeError: 'module' object has no attribute 'chdir'
おそらくGAEサンドボックス内では利用できないため、これは私には理にかなっていchdir
ますが、回避策が必要だと思います。誰かがこのようなことを試しましたか?