On 8/7/06, Sanjay <[EMAIL PROTECTED]> wrote:

Might be an elementary question, but I could not find a way yet.

I have a model class which stores info about the logged in user. I am
not being able to figure out how to simulate login in the
test_model.py, so that I can test the class.

did you check the identity tests and the model tests, and the testutil (not sure of the name is in the root of turbogears package) I believe you have all you need based on thoses tests, in fact maybe what you need to test is already tested there and you just need to call one of those with diferent values.

Thanks in advance
Sanjay



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to