[Tutor] Query regarding Unittest module behaviour

Akanksha Govil govilakanksha at yahoo.com
Tue Jul 4 11:07:41 CEST 2006


Hi,

I have 2 scripts , abc.py and xyz.py, In both I have made unittest cases using the unittest module.

Script abc.py imports xyz.py.
Now when I execute abc.py from commandlline all unittestcases of xyz.py are also executed. 
Why is this happening and what can be the solution to this.

Also I have tried commenting the unittest.main() in xyz.py, but all in vain.


Please help

Akanksha

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060704/29662f3d/attachment.html 


More information about the Tutor mailing list