Running django tutorial tests fail - No module named polls.tests

前端 未结 4 1665
清酒与你
清酒与你 2020-12-01 01:41

I\'m playing with django 1.6 tutorial but i can\'t run tests. My project (name mydjango) and app structure (name is polls) are as shown below in a virtualenv. (.nja files ar

4条回答
  •  心在旅途
    2020-12-01 02:33

    first answer didn't work for me. im using win8, may be this is a reason. in terminal try to change dir to ./polls and the run

    python ../manage.py test polls
    

提交回复
热议问题