<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>I am running testcase from django when I run them from models.py it run.<o:p></o:p></FONT></FONT></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>But when I put the same in test.py in the same directory where models is define it not even getting called.<o:p></o:p></FONT></FONT></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>My structure django application is<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>mysite<o:p></o:p></FONT></FONT></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt 1.5in" align=left><FONT size=3><FONT face=Calibri>Settings.py<o:p></o:p></FONT></FONT></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt 1.5in" align=left><FONT size=3><FONT face=Calibri><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Urls.py<o:p></o:p></FONT></FONT></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt 1.5in" align=left><FONT size=3><FONT face=Calibri><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>Polls<o:p></o:p></FONT></FONT></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt 1.5in" align=left><FONT size=3><FONT face=Calibri><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>__int__.py<o:p></o:p></FONT></FONT></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt 1.5in" align=left><FONT size=3><FONT face=Calibri><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>models.py<o:p></o:p></FONT></FONT></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt 1.5in" align=left><FONT size=3><FONT face=Calibri><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>test.py<o:p></o:p></FONT></FONT></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt 1.5in" align=left><FONT size=3><FONT face=Calibri><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>views.py<o:p></o:p></FONT></FONT></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>I used this command to run the test cases<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;<FONT color=#ff0000> </FONT></SPAN><FONT color=#ff0000>python manage.py test polls<o:p></o:p></FONT></FONT></FONT></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>Can some help me know what am I missing or should need to do something<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>so my testcase from test.py start get executed.</FONT></FONT></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>I tried to follow this link for the same <A href="http://docs.djangoproject.com/en/dev/topics/testing/">http://docs.djangoproject.com/en/dev/topics/testing/</A></FONT></FONT></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3></FONT>&nbsp;</DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3></FONT>&nbsp;</DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3></FONT>&nbsp;</DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>with thanks</FONT></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>Vijay </FONT></DIV>
<DIV>&nbsp;</DIV></td></tr></table><br>
      <!--1--><hr size=1></hr> Love Cricket? Check out live scores, photos, video highlights and more. <a href="http://in.rd.yahoo.com/tagline_cricket_2/*http://cricket.yahoo.com" target="_blank"> Click here</a>.