aha, thanks!

On Feb 28, 4:09 am, Marius Gedminas <[email protected]> wrote:
> On Sat, Feb 27, 2010 at 04:47:41PM -0800, iain duncan wrote:
>
> > On Feb 27, 3:48 pm, Marius Gedminas <[email protected]> wrote:
> > > On Sat, Feb 27, 2010 at 01:47:41PM -0800, iain duncan wrote:
> > > > What I have done is add a method called setup to the same
> > > > TestControllers that get made when you make a controller. In a normal
> > > > nose test class, this gets run prior to each test, in this case it
> > > > doesn't ever get run.
>
> > > Python is case-sensitive.  You need to call the method setUp.
>
> > Thanks! Now out of curiosity can anyone tell my why in a regular nose
> > test, you can call it setup, but not in this case?
>
> AFAIU nose applies different rules for classes that inherit 
> unittest.TestCase:http://somethingaboutorange.com/mrl/projects/nose/0.11.1/writing_test...
>
> Marius Gedminas
> --
> Should array indices start at 0 or 1? My compromise of 0.5 was rejected
> without, I thought, proper consideration.
>         -- Stan Kelly-Bootle
>
>  signature.asc
> < 1KViewDownload

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to