By default django looks for a file called *tests.py*(plural) and not * test.py*. Check that and let us know. Regards, Nandakishore
On Tue, Jul 28, 2009 at 6:40 PM, VIJAY KUMAR <vnbang2...@yahoo.com> wrote: > 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://in.rd.yahoo.com/tagline_cricket_2/*http://cricket.yahoo.com>. > _______________________________________________ > BangPypers mailing list > BangPypers@python.org > http://mail.python.org/mailman/listinfo/bangpypers > >
_______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers