Kent:

> -----Original Message-----
> From: Kent Johnson [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 07, 2006 3:59 PM
> To: Carroll, Barry
> Subject: Re: [Tutor] Unittest not running all test cases
> 
> Carroll, Barry wrote:
> > Kent:
> >
> > I just rechecked my class names, and there are no duplicates.  I was
> > careful to preface all of the classes in testsymc39 with 'C39...',
and
> > used 'S25...' in testsym25.  Likewise, the classes in each module
have
> > names that describe the type of data being tested, so names are
unique
> > within each module as well.
> >
> > Is there a maximum length for class names?  Some of my class names
are
> > pretty long, and only differ in the last few characters.  I'd be
> > surprised if that were the case in Python, but I'm short on other
ideas.
> 
> I don't know of any limits on class names. They are just strings in
> dictionaries after all.
> 
> Try running your tests in verbose mode, you should at least be able to
> figure out which ones aren't running. Try
> 
>      unittest.main(argv=['', '-v'])
> 
> Kent
> 

I tried your suggestion.  Lo and behold, all the test cases ran! So I
tried the terse mode again.  All the test cases STILL ran!  So the
problem has vanished without a trace.  Or a good reason.  

Having a problem just disappear like that bothers me almost more than
the original problem.  (It's also a little embarrassing.) =8^(  

Anyway, thanks for your help.  

Regards,
 
Barry
[EMAIL PROTECTED]
541-302-1107
________________________
We who cut mere stones must always be envisioning cathedrals.

-Quarry worker's creed

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

Reply via email to