webguy7890 wrote:
> thanks for your reply. by any chance could you include some code
> snipplets. i am new to pylons and am having a hard time piecing
> together your response.
resp = app.get('/some/page/you/expect/not/to/exist', status=404)
For the models, you should be able to access models inside your test
just like you would inside a controller.
Ian
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---