"Disrupt07" <[EMAIL PROTECTED]> writes:

> Thanks a lot.
>
> Some of my (related) questions are:
>
> Can one test method have multiple assert statements?

Yes, but then it's not a "unit" anymore.  Why not having multiple tests
testing each behavior?

> What other assert statements can be created? (e.g. not just string
> match)

Take a look at the docs for the test module you're using.  There are several
of them...

For the standard case: http://docs.python.org/lib/module-unittest.html


-- 
Jorge Godoy      <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to