Re: Skipping test using unittest SkipTest and exit status

2016-05-14 Thread Chris Angelico
On Sun, May 15, 2016 at 12:28 AM, Ganesh Pal wrote: > The script show the below output , this looks fine for me. Do you see any > problems with this ? > > gpal-ae9703e-1# python unitest1.py > ERROR:root:Failed scanning > E > == >

Re: Skipping test using unittest SkipTest and exit status

2016-05-14 Thread Ganesh Pal
> > > Hi Team, > > > > Iam on python 2.7 and Linux . I need inputs on the below program , > > "I am" is two words, not one. I hope you wouldn't write "Youare" > or "Heis" :-) Whenever you write "Iam", I read it as the name "Ian", which > is very distracting. > > I am lazy fellow and you are sm

Re: Skipping test using unittest SkipTest and exit status

2016-05-13 Thread Steven D'Aprano
On Sat, 14 May 2016 02:23 am, Ganesh Pal wrote: > Hi Team, > > Iam on python 2.7 and Linux . I need inputs on the below program , "I am" is two words, not one. I hope you wouldn't write "Youare" or "Heis" :-) Whenever you write "Iam", I read it as the name "Ian", which is very distracting.

Skipping test using unittest SkipTest and exit status

2016-05-13 Thread Ganesh Pal
Hi Team, Iam on python 2.7 and Linux . I need inputs on the below program , Iam skipping the unittest from setUpClass in following way # raise unittest.SkipTest(message) The test are getting skipped but I have two problem . (1) This script is in turn read by other scripts which consid