Re: [Tutor] Query regarding Unittest module behaviour

2006-07-04 Thread Luke Paireepinart
[snip] > 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. anything that's in the global scope of an imported module gets executed. For example... -- a.py

[Tutor] Query regarding Unittest module behaviour

2006-07-04 Thread Akanksha Govil
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