[Tutor] Django test case problem

VIJAY KUMAR vnbang2003 at yahoo.com
Tue Jul 28 15:10:39 CEST 2009


Hi,
   I am running testcase from django when I run them from models.py it run.
   But when I put the same in test.py in the same directory where models is define it not even getting called.
  My structure django application is  mysite
Settings.py
         Urls.py
          Polls
                 __int__.py
                 models.py
                 test.py
                 views.py
I used this command to run the test cases   python manage.py test polls
Can some help me know what am I missing or should need to do something  so my testcase from test.py start get executed.
I tried to follow this link for the same http://docs.djangoproject.com/en/dev/topics/testing/
 
 
 
with thanks
Vijay 
 


      Love Cricket? Check out live scores, photos, video highlights and more. Click here http://cricket.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090728/e4bf9e63/attachment-0001.htm>


More information about the Tutor mailing list