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

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to